{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "162219cd-7024-458f-a7c2-b8ec996702a7",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import random\n",
    "f = pd.read_csv(\"./data/CL_train41.csv\") #247辆车，333次变道行为，每次变道行为41帧，前40帧为变道前，最后一帧为变道后\n",
    "ff=pd.read_csv(\"./data/NGSIM_101_P.csv\") # 平滑后的NGSIM101数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "id": "56cb81aa-3fbe-478a-b08c-4c9179d78c45",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceeding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>267</th>\n",
       "      <td>1</td>\n",
       "      <td>537</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>6451654.692</td>\n",
       "      <td>1872801.776</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>-1.606468</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>6</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>878</th>\n",
       "      <td>2</td>\n",
       "      <td>537</td>\n",
       "      <td>634</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>41.320</td>\n",
       "      <td>772.022110</td>\n",
       "      <td>6451625.656</td>\n",
       "      <td>1872842.864</td>\n",
       "      <td>20.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>2</td>\n",
       "      <td>31.612265</td>\n",
       "      <td>-1.094709</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1531</th>\n",
       "      <td>3</td>\n",
       "      <td>537</td>\n",
       "      <td>661</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>30.188</td>\n",
       "      <td>792.390138</td>\n",
       "      <td>6451647.604</td>\n",
       "      <td>1872838.409</td>\n",
       "      <td>16.5</td>\n",
       "      <td>6.4</td>\n",
       "      <td>2</td>\n",
       "      <td>30.190724</td>\n",
       "      <td>-0.020975</td>\n",
       "      <td>3</td>\n",
       "      <td>0</td>\n",
       "      <td>7</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2222</th>\n",
       "      <td>4</td>\n",
       "      <td>537</td>\n",
       "      <td>651</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>19.304</td>\n",
       "      <td>812.149230</td>\n",
       "      <td>6451670.516</td>\n",
       "      <td>1872832.777</td>\n",
       "      <td>16.0</td>\n",
       "      <td>5.9</td>\n",
       "      <td>2</td>\n",
       "      <td>34.099380</td>\n",
       "      <td>-2.097336</td>\n",
       "      <td>2</td>\n",
       "      <td>0</td>\n",
       "      <td>8</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3042</th>\n",
       "      <td>5</td>\n",
       "      <td>537</td>\n",
       "      <td>846</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>5.242</td>\n",
       "      <td>877.258090</td>\n",
       "      <td>6451729.151</td>\n",
       "      <td>1872799.935</td>\n",
       "      <td>13.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>2</td>\n",
       "      <td>10.985483</td>\n",
       "      <td>-2.488250</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID  Frame_ID  Total_Frames    Global_Time  Local_X     Local_Y  \\\n",
       "267            1       537           569  1118847895700   53.039  820.612922   \n",
       "878            2       537           634  1118847895700   41.320  772.022110   \n",
       "1531           3       537           661  1118847895700   30.188  792.390138   \n",
       "2222           4       537           651  1118847895700   19.304  812.149230   \n",
       "3042           5       537           846  1118847895700    5.242  877.258090   \n",
       "\n",
       "         Global_X     Global_Y  v_Length  v_Width  v_Class      v_Vel  \\\n",
       "267   6451654.692  1872801.776      47.0      8.5        3  26.128386   \n",
       "878   6451625.656  1872842.864      20.0      7.4        2  31.612265   \n",
       "1531  6451647.604  1872838.409      16.5      6.4        2  30.190724   \n",
       "2222  6451670.516  1872832.777      16.0      5.9        2  34.099380   \n",
       "3042  6451729.151  1872799.935      13.0      6.9        2  10.985483   \n",
       "\n",
       "         v_Acc  Lane_ID  Preceeding  Following  Space_Hdwy  Time_Hdwy  \n",
       "267  -1.606468        5           0          6         0.0        0.0  \n",
       "878  -1.094709        4           0         10         0.0        0.0  \n",
       "1531 -0.020975        3           0          7         0.0        0.0  \n",
       "2222 -2.097336        2           0          8         0.0        0.0  \n",
       "3042 -2.488250        1           0          9         0.0        0.0  "
      ]
     },
     "execution_count": 66,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ff[ff['Frame_ID']==537].head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "dba01e7b-34b7-4c81-a2ab-f1901155cd18",
   "metadata": {},
   "outputs": [],
   "source": [
    "f=f.rename(columns={'Preceeding':'Preceding'})\n",
    "num1=int(len(f)/41)                      #计算出333次变道行为\n",
    "id_max=max(ff.Vehicle_ID.values)         #计算出NGSIM中车辆ID的最大值\n",
    "time_point=0\n",
    "point_list=[]                            #用来存储每次变道行为的开始一帧\n",
    "for i in range(num1):\n",
    "    point_list.append(time_point+41*i)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "f8f68757-dcde-4f1d-9143-fd02ba2ef91c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "1914"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "id_max"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "id": "2f5c1f19-f795-4f06-9d5d-4c9966004d5b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0,\n",
       " 41,\n",
       " 82,\n",
       " 123,\n",
       " 164,\n",
       " 205,\n",
       " 246,\n",
       " 287,\n",
       " 328,\n",
       " 369,\n",
       " 410,\n",
       " 451,\n",
       " 492,\n",
       " 533,\n",
       " 574,\n",
       " 615,\n",
       " 656,\n",
       " 697,\n",
       " 738,\n",
       " 779,\n",
       " 820,\n",
       " 861,\n",
       " 902,\n",
       " 943,\n",
       " 984,\n",
       " 1025,\n",
       " 1066,\n",
       " 1107,\n",
       " 1148,\n",
       " 1189,\n",
       " 1230,\n",
       " 1271,\n",
       " 1312,\n",
       " 1353,\n",
       " 1394,\n",
       " 1435,\n",
       " 1476,\n",
       " 1517,\n",
       " 1558,\n",
       " 1599,\n",
       " 1640,\n",
       " 1681,\n",
       " 1722,\n",
       " 1763,\n",
       " 1804,\n",
       " 1845,\n",
       " 1886,\n",
       " 1927,\n",
       " 1968,\n",
       " 2009,\n",
       " 2050,\n",
       " 2091,\n",
       " 2132,\n",
       " 2173,\n",
       " 2214,\n",
       " 2255,\n",
       " 2296,\n",
       " 2337,\n",
       " 2378,\n",
       " 2419,\n",
       " 2460,\n",
       " 2501,\n",
       " 2542,\n",
       " 2583,\n",
       " 2624,\n",
       " 2665,\n",
       " 2706,\n",
       " 2747,\n",
       " 2788,\n",
       " 2829,\n",
       " 2870,\n",
       " 2911,\n",
       " 2952,\n",
       " 2993,\n",
       " 3034,\n",
       " 3075,\n",
       " 3116,\n",
       " 3157,\n",
       " 3198,\n",
       " 3239,\n",
       " 3280,\n",
       " 3321,\n",
       " 3362,\n",
       " 3403,\n",
       " 3444,\n",
       " 3485,\n",
       " 3526,\n",
       " 3567,\n",
       " 3608,\n",
       " 3649,\n",
       " 3690,\n",
       " 3731,\n",
       " 3772,\n",
       " 3813,\n",
       " 3854,\n",
       " 3895,\n",
       " 3936,\n",
       " 3977,\n",
       " 4018,\n",
       " 4059,\n",
       " 4100,\n",
       " 4141,\n",
       " 4182,\n",
       " 4223,\n",
       " 4264,\n",
       " 4305,\n",
       " 4346,\n",
       " 4387,\n",
       " 4428,\n",
       " 4469,\n",
       " 4510,\n",
       " 4551,\n",
       " 4592,\n",
       " 4633,\n",
       " 4674,\n",
       " 4715,\n",
       " 4756,\n",
       " 4797,\n",
       " 4838,\n",
       " 4879,\n",
       " 4920,\n",
       " 4961,\n",
       " 5002,\n",
       " 5043,\n",
       " 5084,\n",
       " 5125,\n",
       " 5166,\n",
       " 5207,\n",
       " 5248,\n",
       " 5289,\n",
       " 5330,\n",
       " 5371,\n",
       " 5412,\n",
       " 5453,\n",
       " 5494,\n",
       " 5535,\n",
       " 5576,\n",
       " 5617,\n",
       " 5658,\n",
       " 5699,\n",
       " 5740,\n",
       " 5781,\n",
       " 5822,\n",
       " 5863,\n",
       " 5904,\n",
       " 5945,\n",
       " 5986,\n",
       " 6027,\n",
       " 6068,\n",
       " 6109,\n",
       " 6150,\n",
       " 6191,\n",
       " 6232,\n",
       " 6273,\n",
       " 6314,\n",
       " 6355,\n",
       " 6396,\n",
       " 6437,\n",
       " 6478,\n",
       " 6519,\n",
       " 6560,\n",
       " 6601,\n",
       " 6642,\n",
       " 6683,\n",
       " 6724,\n",
       " 6765,\n",
       " 6806,\n",
       " 6847,\n",
       " 6888,\n",
       " 6929,\n",
       " 6970,\n",
       " 7011,\n",
       " 7052,\n",
       " 7093,\n",
       " 7134,\n",
       " 7175,\n",
       " 7216,\n",
       " 7257,\n",
       " 7298,\n",
       " 7339,\n",
       " 7380,\n",
       " 7421,\n",
       " 7462,\n",
       " 7503,\n",
       " 7544,\n",
       " 7585,\n",
       " 7626,\n",
       " 7667,\n",
       " 7708,\n",
       " 7749,\n",
       " 7790,\n",
       " 7831,\n",
       " 7872,\n",
       " 7913,\n",
       " 7954,\n",
       " 7995,\n",
       " 8036,\n",
       " 8077,\n",
       " 8118,\n",
       " 8159,\n",
       " 8200,\n",
       " 8241,\n",
       " 8282,\n",
       " 8323,\n",
       " 8364,\n",
       " 8405,\n",
       " 8446,\n",
       " 8487,\n",
       " 8528,\n",
       " 8569,\n",
       " 8610,\n",
       " 8651,\n",
       " 8692,\n",
       " 8733,\n",
       " 8774,\n",
       " 8815,\n",
       " 8856,\n",
       " 8897,\n",
       " 8938,\n",
       " 8979,\n",
       " 9020,\n",
       " 9061,\n",
       " 9102,\n",
       " 9143,\n",
       " 9184,\n",
       " 9225,\n",
       " 9266,\n",
       " 9307,\n",
       " 9348,\n",
       " 9389,\n",
       " 9430,\n",
       " 9471,\n",
       " 9512,\n",
       " 9553,\n",
       " 9594,\n",
       " 9635,\n",
       " 9676,\n",
       " 9717,\n",
       " 9758,\n",
       " 9799,\n",
       " 9840,\n",
       " 9881,\n",
       " 9922,\n",
       " 9963,\n",
       " 10004,\n",
       " 10045,\n",
       " 10086,\n",
       " 10127,\n",
       " 10168,\n",
       " 10209,\n",
       " 10250,\n",
       " 10291,\n",
       " 10332,\n",
       " 10373,\n",
       " 10414,\n",
       " 10455,\n",
       " 10496,\n",
       " 10537,\n",
       " 10578,\n",
       " 10619,\n",
       " 10660,\n",
       " 10701,\n",
       " 10742,\n",
       " 10783,\n",
       " 10824,\n",
       " 10865,\n",
       " 10906,\n",
       " 10947,\n",
       " 10988,\n",
       " 11029,\n",
       " 11070,\n",
       " 11111,\n",
       " 11152,\n",
       " 11193,\n",
       " 11234,\n",
       " 11275,\n",
       " 11316,\n",
       " 11357,\n",
       " 11398,\n",
       " 11439,\n",
       " 11480,\n",
       " 11521,\n",
       " 11562,\n",
       " 11603,\n",
       " 11644,\n",
       " 11685,\n",
       " 11726,\n",
       " 11767,\n",
       " 11808,\n",
       " 11849,\n",
       " 11890,\n",
       " 11931,\n",
       " 11972,\n",
       " 12013,\n",
       " 12054,\n",
       " 12095,\n",
       " 12136,\n",
       " 12177,\n",
       " 12218,\n",
       " 12259,\n",
       " 12300,\n",
       " 12341,\n",
       " 12382,\n",
       " 12423,\n",
       " 12464,\n",
       " 12505,\n",
       " 12546,\n",
       " 12587,\n",
       " 12628,\n",
       " 12669,\n",
       " 12710,\n",
       " 12751,\n",
       " 12792,\n",
       " 12833,\n",
       " 12874,\n",
       " 12915,\n",
       " 12956,\n",
       " 12997,\n",
       " 13038,\n",
       " 13079,\n",
       " 13120,\n",
       " 13161,\n",
       " 13202,\n",
       " 13243,\n",
       " 13284,\n",
       " 13325,\n",
       " 13366,\n",
       " 13407,\n",
       " 13448,\n",
       " 13489,\n",
       " 13530,\n",
       " 13571,\n",
       " 13612]"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "point_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "id": "89f59bd0-9441-45d6-8e33-58162059a5d2",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>x</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.669198</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>82.43</td>\n",
       "      <td>2.75</td>\n",
       "      <td>-0.069</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.263260</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>654</td>\n",
       "      <td>1118847925100</td>\n",
       "      <td>31.073</td>\n",
       "      <td>1826.355878</td>\n",
       "      <td>6452425.171</td>\n",
       "      <td>1872157.346</td>\n",
       "      <td>17.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.948579</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>15</td>\n",
       "      <td>68.67</td>\n",
       "      <td>1.37</td>\n",
       "      <td>0.024</td>\n",
       "      <td>0.24</td>\n",
       "      <td>5.061758</td>\n",
       "      <td>50.617583</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>82</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>636</td>\n",
       "      <td>1118847928000</td>\n",
       "      <td>43.052</td>\n",
       "      <td>1837.061104</td>\n",
       "      <td>6452424.266</td>\n",
       "      <td>1872142.327</td>\n",
       "      <td>15.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>1.991135</td>\n",
       "      <td>4</td>\n",
       "      <td>14</td>\n",
       "      <td>26</td>\n",
       "      <td>92.80</td>\n",
       "      <td>1.64</td>\n",
       "      <td>-0.173</td>\n",
       "      <td>-1.73</td>\n",
       "      <td>5.250150</td>\n",
       "      <td>52.501500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>550</td>\n",
       "      <td>1118847933300</td>\n",
       "      <td>52.940</td>\n",
       "      <td>1943.164916</td>\n",
       "      <td>6452501.580</td>\n",
       "      <td>1872062.137</td>\n",
       "      <td>13.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-2.345612</td>\n",
       "      <td>5</td>\n",
       "      <td>25</td>\n",
       "      <td>36</td>\n",
       "      <td>126.20</td>\n",
       "      <td>2.12</td>\n",
       "      <td>0.098</td>\n",
       "      <td>0.98</td>\n",
       "      <td>5.736216</td>\n",
       "      <td>57.362159</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>164</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>559</td>\n",
       "      <td>1118847917500</td>\n",
       "      <td>52.214</td>\n",
       "      <td>1004.286604</td>\n",
       "      <td>6451792.563</td>\n",
       "      <td>1872682.032</td>\n",
       "      <td>18.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.393715</td>\n",
       "      <td>5</td>\n",
       "      <td>36</td>\n",
       "      <td>43</td>\n",
       "      <td>38.98</td>\n",
       "      <td>0.97</td>\n",
       "      <td>0.037</td>\n",
       "      <td>0.37</td>\n",
       "      <td>4.005073</td>\n",
       "      <td>40.050728</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13448</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>1030</td>\n",
       "      <td>1118848594900</td>\n",
       "      <td>19.213</td>\n",
       "      <td>1607.776272</td>\n",
       "      <td>6452266.822</td>\n",
       "      <td>1872311.506</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>3.584741</td>\n",
       "      <td>2</td>\n",
       "      <td>1829</td>\n",
       "      <td>1849</td>\n",
       "      <td>51.16</td>\n",
       "      <td>1.69</td>\n",
       "      <td>0.061</td>\n",
       "      <td>0.61</td>\n",
       "      <td>3.059896</td>\n",
       "      <td>30.598964</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13489</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>988</td>\n",
       "      <td>1118848570100</td>\n",
       "      <td>6.911</td>\n",
       "      <td>1175.712982</td>\n",
       "      <td>6451952.597</td>\n",
       "      <td>1872602.748</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.409188</td>\n",
       "      <td>1</td>\n",
       "      <td>1856</td>\n",
       "      <td>1870</td>\n",
       "      <td>49.00</td>\n",
       "      <td>2.50</td>\n",
       "      <td>0.004</td>\n",
       "      <td>0.04</td>\n",
       "      <td>1.824958</td>\n",
       "      <td>18.249581</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13530</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>943</td>\n",
       "      <td>1118848609700</td>\n",
       "      <td>21.206</td>\n",
       "      <td>1938.794699</td>\n",
       "      <td>6452517.397</td>\n",
       "      <td>1872090.333</td>\n",
       "      <td>16.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.208143</td>\n",
       "      <td>2</td>\n",
       "      <td>1864</td>\n",
       "      <td>1881</td>\n",
       "      <td>48.71</td>\n",
       "      <td>1.02</td>\n",
       "      <td>0.120</td>\n",
       "      <td>1.20</td>\n",
       "      <td>4.732045</td>\n",
       "      <td>47.320449</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13571</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848623700</td>\n",
       "      <td>41.698</td>\n",
       "      <td>1894.694093</td>\n",
       "      <td>6452470.249</td>\n",
       "      <td>1872104.093</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.307862</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>112.75</td>\n",
       "      <td>2.69</td>\n",
       "      <td>0.015</td>\n",
       "      <td>0.15</td>\n",
       "      <td>4.135217</td>\n",
       "      <td>41.352171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13612</th>\n",
       "      <td>1914</td>\n",
       "      <td>6965</td>\n",
       "      <td>923</td>\n",
       "      <td>1118848538500</td>\n",
       "      <td>16.439</td>\n",
       "      <td>237.263293</td>\n",
       "      <td>6451248.423</td>\n",
       "      <td>1873225.102</td>\n",
       "      <td>16.5</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.281550</td>\n",
       "      <td>2</td>\n",
       "      <td>1928</td>\n",
       "      <td>1945</td>\n",
       "      <td>48.70</td>\n",
       "      <td>1.19</td>\n",
       "      <td>0.033</td>\n",
       "      <td>0.33</td>\n",
       "      <td>3.912534</td>\n",
       "      <td>39.125338</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>333 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       Vehicle_ID  Frame_ID  Total_Frames    Global_Time  Local_X  \\\n",
       "0               6       537           577  1118847895700   51.327   \n",
       "41             11       831           654  1118847925100   31.073   \n",
       "82             20       860           636  1118847928000   43.052   \n",
       "123            31       913           550  1118847933300   52.940   \n",
       "164            37       755           559  1118847917500   52.214   \n",
       "...           ...       ...           ...            ...      ...   \n",
       "13448        1835      7529          1030  1118848594900   19.213   \n",
       "13489        1863      7281           988  1118848570100    6.911   \n",
       "13530        1873      7677           943  1118848609700   21.206   \n",
       "13571        1906      7817           924  1118848623700   41.698   \n",
       "13612        1914      6965           923  1118848538500   16.439   \n",
       "\n",
       "           Local_Y     Global_X     Global_Y  v_Length  v_Width  ...  \\\n",
       "0       738.159285  6451593.879  1872857.446      15.5      7.4  ...   \n",
       "41     1826.355878  6452425.171  1872157.346      17.0      6.4  ...   \n",
       "82     1837.061104  6452424.266  1872142.327      15.5      6.9  ...   \n",
       "123    1943.164916  6452501.580  1872062.137      13.5      6.9  ...   \n",
       "164    1004.286604  6451792.563  1872682.032      18.0      7.4  ...   \n",
       "...            ...          ...          ...       ...      ...  ...   \n",
       "13448  1607.776272  6452266.822  1872311.506      13.5      5.9  ...   \n",
       "13489  1175.712982  6451952.597  1872602.748      14.0      6.9  ...   \n",
       "13530  1938.794699  6452517.397  1872090.333      16.0      6.9  ...   \n",
       "13571  1894.694093  6452470.249  1872104.093      12.5      5.0  ...   \n",
       "13612   237.263293  6451248.423  1873225.102      16.5      6.4  ...   \n",
       "\n",
       "          v_Acc  Lane_ID  Preceding  Following  Space_Hdwy  Time_Hdwy      x  \\\n",
       "0     -1.669198        5          1         16       82.43       2.75 -0.069   \n",
       "41     0.948579        3          7         15       68.67       1.37  0.024   \n",
       "82     1.991135        4         14         26       92.80       1.64 -0.173   \n",
       "123   -2.345612        5         25         36      126.20       2.12  0.098   \n",
       "164    0.393715        5         36         43       38.98       0.97  0.037   \n",
       "...         ...      ...        ...        ...         ...        ...    ...   \n",
       "13448  3.584741        2       1829       1849       51.16       1.69  0.061   \n",
       "13489 -1.409188        1       1856       1870       49.00       2.50  0.004   \n",
       "13530 -0.208143        2       1864       1881       48.71       1.02  0.120   \n",
       "13571 -0.307862        4       1891       1907      112.75       2.69  0.015   \n",
       "13612 -1.281550        2       1928       1945       48.70       1.19  0.033   \n",
       "\n",
       "        x_a         y        y_v  \n",
       "0     -0.69  2.926326  29.263260  \n",
       "41     0.24  5.061758  50.617583  \n",
       "82    -1.73  5.250150  52.501500  \n",
       "123    0.98  5.736216  57.362159  \n",
       "164    0.37  4.005073  40.050728  \n",
       "...     ...       ...        ...  \n",
       "13448  0.61  3.059896  30.598964  \n",
       "13489  0.04  1.824958  18.249581  \n",
       "13530  1.20  4.732045  47.320449  \n",
       "13571  0.15  4.135217  41.352171  \n",
       "13612  0.33  3.912534  39.125338  \n",
       "\n",
       "[333 rows x 22 columns]"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f1=f.iloc[point_list]\n",
    "f1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "id": "95204917-e402-47e5-bfae-dc3a926922ba",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "333"
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(f1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "id": "05f3995a-6a67-450c-a445-94790b10472c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[   6,    1,   16],\n",
       "       [  11,    7,   15],\n",
       "       [  20,   14,   26],\n",
       "       [  31,   25,   36],\n",
       "       [  37,   36,   43],\n",
       "       [  44,   39,   48],\n",
       "       [  44,   46,   54],\n",
       "       [  48,   43,   55],\n",
       "       [  48,   46,   54],\n",
       "       [  48,   44,   49],\n",
       "       [  49,   59,   60],\n",
       "       [  49,   45,   50],\n",
       "       [  53,   50,   61],\n",
       "       [  61,   66,   67],\n",
       "       [  63,   57,   69],\n",
       "       [  67,   71,   81],\n",
       "       [  71,   53,   76],\n",
       "       [  71,   66,   76],\n",
       "       [  72,   68,   79],\n",
       "       [  76,   61,   73],\n",
       "       [  80,   75,   85],\n",
       "       [  81,   76,   89],\n",
       "       [  92,   91,   98],\n",
       "       [  94,   90,   95],\n",
       "       [  94,   86,  101],\n",
       "       [  99,   97,  102],\n",
       "       [  99,   98,  104],\n",
       "       [  99,   92,   97],\n",
       "       [  99,   84,   88],\n",
       "       [ 100,   95,  106],\n",
       "       [ 100,   86,  101],\n",
       "       [ 104,   98,  108],\n",
       "       [ 110,  104,  114],\n",
       "       [ 139,  129,  140],\n",
       "       [ 139,  136,  141],\n",
       "       [ 139,  138,  146],\n",
       "       [ 140,  136,  141],\n",
       "       [ 141,  136,  145],\n",
       "       [ 146,  138,  150],\n",
       "       [ 148,  145,  153],\n",
       "       [ 155,  150,  158],\n",
       "       [ 157,  152,  161],\n",
       "       [ 163,  167,  171],\n",
       "       [ 181,  175,  195],\n",
       "       [ 181,  170,  172],\n",
       "       [ 182,  174,  184],\n",
       "       [ 184,  180,  188],\n",
       "       [ 191,  187,  193],\n",
       "       [ 192,  197,  200],\n",
       "       [ 195,  181,  198],\n",
       "       [ 195,  190,  194],\n",
       "       [ 200,  197,  205],\n",
       "       [ 203,  194,  207],\n",
       "       [ 203,  197,  205],\n",
       "       [ 204,  216,  222],\n",
       "       [ 204,  199,  208],\n",
       "       [ 204,  193,  199],\n",
       "       [ 205,  197,  211],\n",
       "       [ 209,  206,  216],\n",
       "       [ 211,  207,  215],\n",
       "       [ 213,  210,  220],\n",
       "       [ 218,  214,  221],\n",
       "       [ 218,  217,  226],\n",
       "       [ 218,    0,  227],\n",
       "       [ 219,  212,  223],\n",
       "       [ 228,  226,  231],\n",
       "       [ 243,  236,  248],\n",
       "       [ 244,  241,  254],\n",
       "       [ 244,  238,  252],\n",
       "       [ 245,  238,  244],\n",
       "       [ 275,  270,  279],\n",
       "       [ 275,  265,  274],\n",
       "       [ 291,  289,  297],\n",
       "       [ 299,  295,  306],\n",
       "       [ 300,  298,  304],\n",
       "       [ 317,  311,  316],\n",
       "       [ 325,  324,  337],\n",
       "       [ 326,  317,  330],\n",
       "       [ 329,  322,  332],\n",
       "       [ 335,  333,  348],\n",
       "       [ 336,  338,    0],\n",
       "       [ 337,  329,  340],\n",
       "       [ 341,  335,  348],\n",
       "       [ 344,  342,  341],\n",
       "       [ 351,  346,  359],\n",
       "       [ 366,  360,  368],\n",
       "       [ 373,  369,  381],\n",
       "       [ 374,  367,  371],\n",
       "       [ 381,  369,  389],\n",
       "       [ 384,  381,  389],\n",
       "       [ 403,  400,  410],\n",
       "       [ 406,  401,  407],\n",
       "       [ 406,  403,  410],\n",
       "       [ 410,  403,  415],\n",
       "       [ 410,  409,  411],\n",
       "       [ 415,  400,  418],\n",
       "       [ 417,  411,  421],\n",
       "       [ 418,  403,  429],\n",
       "       [ 420,  419,  425],\n",
       "       [ 420,  416,  426],\n",
       "       [ 433,  418,  440],\n",
       "       [ 433,  428,  436],\n",
       "       [ 437,  435,  442],\n",
       "       [ 439,  438,  443],\n",
       "       [ 441,  440,  445],\n",
       "       [ 442,  435,  446],\n",
       "       [ 444,  441,  449],\n",
       "       [ 451,  446,  456],\n",
       "       [ 453,  449,  455],\n",
       "       [ 455,  452,  461],\n",
       "       [ 455,  453,  460],\n",
       "       [ 457,  450,  465],\n",
       "       [ 469,  460,  473],\n",
       "       [ 483,  478,  492],\n",
       "       [ 495,  483,  492],\n",
       "       [ 500,  492,    0],\n",
       "       [ 505,  502,  512],\n",
       "       [ 505,  501,  509],\n",
       "       [ 505,  467,  474],\n",
       "       [ 509,  502,  503],\n",
       "       [ 512,  506,  516],\n",
       "       [ 516,  509,  518],\n",
       "       [ 520,  523,  529],\n",
       "       [ 530,  525,  540],\n",
       "       [ 540,  530,  546],\n",
       "       [ 550,    0,    0],\n",
       "       [ 550,  545,  555],\n",
       "       [ 550,  548,  558],\n",
       "       [ 554,  548,  550],\n",
       "       [ 567,  565,  570],\n",
       "       [ 568,  563,  572],\n",
       "       [ 569,  566,  574],\n",
       "       [ 572,  569,  575],\n",
       "       [ 576,  574,  584],\n",
       "       [ 579,  620,  633],\n",
       "       [ 579,  610,  618],\n",
       "       [ 579,  546,  556],\n",
       "       [ 579,  539,  562],\n",
       "       [ 579,  525,  546],\n",
       "       [ 609,  599,  614],\n",
       "       [ 616,  605,  624],\n",
       "       [ 642,  620,  633],\n",
       "       [ 642,  638,  646],\n",
       "       [ 642,  639,  647],\n",
       "       [ 642,  636,  645],\n",
       "       [ 642,  644,  652],\n",
       "       [ 653,  649,  664],\n",
       "       [ 659,  663,  670],\n",
       "       [ 659,  664,  675],\n",
       "       [ 691,  676,    0],\n",
       "       [ 691,  686,  693],\n",
       "       [ 694,  689,  700],\n",
       "       [ 723,    0,  729],\n",
       "       [ 723,  697,  707],\n",
       "       [ 725,  721,  738],\n",
       "       [ 745,  739,  748],\n",
       "       [ 753,  747,  761],\n",
       "       [ 758,  776,  780],\n",
       "       [ 758,    0,    0],\n",
       "       [ 758,  750,  728],\n",
       "       [ 767,  762,  770],\n",
       "       [ 770,  767,  772],\n",
       "       [ 770,  787,  790],\n",
       "       [ 771,  761,    0],\n",
       "       [ 774,  771,  781],\n",
       "       [ 780,  776,  785],\n",
       "       [ 793,  788,  801],\n",
       "       [ 796,  794,  805],\n",
       "       [ 797,    0,    0],\n",
       "       [ 797,  792,  802],\n",
       "       [ 799,  795,  808],\n",
       "       [ 806,  790,  795],\n",
       "       [ 843,    0,  864],\n",
       "       [ 843,  838,  846],\n",
       "       [ 847,  843,  859],\n",
       "       [ 851,  847,  859],\n",
       "       [ 858,  850,  864],\n",
       "       [ 858,  859,  866],\n",
       "       [ 883,  876,  896],\n",
       "       [ 900,  895,  906],\n",
       "       [ 901,  887,  914],\n",
       "       [ 907,  901,  914],\n",
       "       [ 913,  904,  921],\n",
       "       [ 920,  921,  927],\n",
       "       [ 920,  914,  923],\n",
       "       [ 920,  915,  924],\n",
       "       [ 923,  913,  934],\n",
       "       [ 923,  924,  931],\n",
       "       [ 925,  928,  936],\n",
       "       [ 930,  929,  940],\n",
       "       [ 930,  904,  921],\n",
       "       [ 930,  924,  931],\n",
       "       [ 946,  936,  951],\n",
       "       [ 952,  948,  960],\n",
       "       [ 953,  947,  958],\n",
       "       [ 953,  954,  964],\n",
       "       [ 953,  963,  980],\n",
       "       [ 956,  950,  961],\n",
       "       [ 957,  954,  964],\n",
       "       [ 963,  960,  968],\n",
       "       [ 965,  958,  971],\n",
       "       [ 966,    0,  981],\n",
       "       [ 966,  874,  958],\n",
       "       [ 967,  963,  976],\n",
       "       [ 968,  961,  980],\n",
       "       [ 968,  963,  976],\n",
       "       [ 977,  974,  987],\n",
       "       [ 977,  975,  983],\n",
       "       [1007, 1004, 1017],\n",
       "       [1011, 1007, 1019],\n",
       "       [1011, 1014, 1021],\n",
       "       [1012, 1003, 1018],\n",
       "       [1017, 1004, 1026],\n",
       "       [1020, 1013,    0],\n",
       "       [1020, 1013, 1027],\n",
       "       [1030, 1042,    0],\n",
       "       [1030, 1026, 1046],\n",
       "       [1036, 1031, 1042],\n",
       "       [1057, 1049, 1081],\n",
       "       [1079, 1074, 1081],\n",
       "       [1084, 1080, 1088],\n",
       "       [1089, 1083, 1095],\n",
       "       [1090, 1085, 1094],\n",
       "       [1091, 1081, 1100],\n",
       "       [1120, 1116, 1126],\n",
       "       [1129, 1123, 1135],\n",
       "       [1133, 1134, 1140],\n",
       "       [1134, 1135, 1137],\n",
       "       [1135, 1123, 1137],\n",
       "       [1146, 1143, 1152],\n",
       "       [1147, 1137, 1149],\n",
       "       [1149, 1146, 1152],\n",
       "       [1149, 1147, 1165],\n",
       "       [1150, 1140, 1154],\n",
       "       [1155, 1150, 1157],\n",
       "       [1160, 1152, 1165],\n",
       "       [1163, 1158, 1167],\n",
       "       [1165, 1146, 1172],\n",
       "       [1165, 1152, 1170],\n",
       "       [1173, 1170, 1183],\n",
       "       [1176, 1168, 1179],\n",
       "       [1189, 1184, 1196],\n",
       "       [1202, 1197, 1206],\n",
       "       [1206, 1183, 1211],\n",
       "       [1208, 1206, 1223],\n",
       "       [1213, 1211, 1220],\n",
       "       [1213, 1211, 1208],\n",
       "       [1219, 1215, 1228],\n",
       "       [1220, 1216, 1221],\n",
       "       [1221, 1216, 1232],\n",
       "       [1225, 1231, 1244],\n",
       "       [1225, 1224, 1241],\n",
       "       [1230, 1242, 1248],\n",
       "       [1230, 1235, 1242],\n",
       "       [1230, 1228, 1234],\n",
       "       [1230, 1228, 1234],\n",
       "       [1230, 1221, 1227],\n",
       "       [1233, 1231, 1244],\n",
       "       [1233, 1224, 1241],\n",
       "       [1239, 1231, 1244],\n",
       "       [1244, 1231, 1254],\n",
       "       [1266, 1261, 1279],\n",
       "       [1266, 1257, 1273],\n",
       "       [1300, 1301, 1308],\n",
       "       [1318, 1310, 1324],\n",
       "       [1332, 1333,    0],\n",
       "       [1338, 1333, 1343],\n",
       "       [1342, 1334, 1345],\n",
       "       [1342, 1333, 1343],\n",
       "       [1352, 1340, 1354],\n",
       "       [1352, 1349, 1353],\n",
       "       [1358, 1342,    0],\n",
       "       [1358, 1351, 1364],\n",
       "       [1358, 1353, 1363],\n",
       "       [1358, 1371, 1372],\n",
       "       [1359, 1354, 1365],\n",
       "       [1360, 1357, 1369],\n",
       "       [1365, 1359, 1371],\n",
       "       [1365, 1348, 1360],\n",
       "       [1371, 1372, 1382],\n",
       "       [1372, 1363, 1382],\n",
       "       [1378, 1364, 1383],\n",
       "       [1400, 1394, 1406],\n",
       "       [1430, 1422, 1438],\n",
       "       [1452, 1456, 1466],\n",
       "       [1452, 1451, 1471],\n",
       "       [1455, 1450, 1467],\n",
       "       [1455, 1449, 1459],\n",
       "       [1468, 1454, 1477],\n",
       "       [1486, 1481, 1495],\n",
       "       [1496, 1490, 1509],\n",
       "       [1500, 1499, 1523],\n",
       "       [1506, 1507, 1519],\n",
       "       [1506, 1499, 1523],\n",
       "       [1506, 1500, 1509],\n",
       "       [1544, 1540,    0],\n",
       "       [1545, 1553,    0],\n",
       "       [1550, 1544, 1554],\n",
       "       [1561, 1567, 1574],\n",
       "       [1562, 1551, 1572],\n",
       "       [1570, 1558,    0],\n",
       "       [1604, 1596, 1610],\n",
       "       [1637, 1626, 1641],\n",
       "       [1645, 1613,    0],\n",
       "       [1650, 1640, 1649],\n",
       "       [1669, 1666, 1684],\n",
       "       [1686,    0, 1694],\n",
       "       [1686, 1681, 1689],\n",
       "       [1694, 1689, 1702],\n",
       "       [1702, 1689, 1708],\n",
       "       [1722, 1716, 1727],\n",
       "       [1742, 1732, 1744],\n",
       "       [1742, 1734, 1743],\n",
       "       [1742, 1736, 1750],\n",
       "       [1747, 1736,    0],\n",
       "       [1747, 1743, 1763],\n",
       "       [1749, 1741, 1752],\n",
       "       [1759, 1755, 1778],\n",
       "       [1769, 1759, 1778],\n",
       "       [1771, 1760, 1793],\n",
       "       [1775, 1750,    0],\n",
       "       [1775, 1770, 1779],\n",
       "       [1783, 1777, 1789],\n",
       "       [1810, 1805, 1817],\n",
       "       [1812, 1804, 1811],\n",
       "       [1822, 1814, 1824],\n",
       "       [1829, 1863, 1849],\n",
       "       [1835, 1856, 1863],\n",
       "       [1835, 1829, 1849],\n",
       "       [1863, 1856, 1870],\n",
       "       [1873, 1864, 1881],\n",
       "       [1906, 1891, 1907],\n",
       "       [1914, 1928, 1945]], dtype=int64)"
      ]
     },
     "execution_count": 43,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f2=f1[['Vehicle_ID','Preceding','Following']].values\n",
    "f2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "id": "2815a63e-6feb-4669-acc9-d1c8f628ce68",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>x</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.669198</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>82.43</td>\n",
       "      <td>2.75</td>\n",
       "      <td>-0.069</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>6</td>\n",
       "      <td>538</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895800</td>\n",
       "      <td>51.259</td>\n",
       "      <td>741.069808</td>\n",
       "      <td>6451596.178</td>\n",
       "      <td>1872855.518</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.751698</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.98</td>\n",
       "      <td>2.74</td>\n",
       "      <td>-0.068</td>\n",
       "      <td>-0.68</td>\n",
       "      <td>2.910523</td>\n",
       "      <td>29.105229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>6</td>\n",
       "      <td>539</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895900</td>\n",
       "      <td>51.185</td>\n",
       "      <td>743.963695</td>\n",
       "      <td>6451598.5</td>\n",
       "      <td>1872853.578</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.831329</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.45</td>\n",
       "      <td>2.76</td>\n",
       "      <td>-0.074</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>2.893887</td>\n",
       "      <td>28.938867</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>6</td>\n",
       "      <td>540</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896000</td>\n",
       "      <td>51.156</td>\n",
       "      <td>746.840082</td>\n",
       "      <td>6451600.74</td>\n",
       "      <td>1872851.65</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.872445</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.95</td>\n",
       "      <td>2.81</td>\n",
       "      <td>-0.029</td>\n",
       "      <td>-0.29</td>\n",
       "      <td>2.876387</td>\n",
       "      <td>28.763871</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>6</td>\n",
       "      <td>541</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896100</td>\n",
       "      <td>51.132</td>\n",
       "      <td>749.698492</td>\n",
       "      <td>6451602.894</td>\n",
       "      <td>1872849.79</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.839746</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.55</td>\n",
       "      <td>2.89</td>\n",
       "      <td>-0.024</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>2.85841</td>\n",
       "      <td>28.584104</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13607</th>\n",
       "      <td>1906</td>\n",
       "      <td>7853</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627300</td>\n",
       "      <td>45.939</td>\n",
       "      <td>2038.340383</td>\n",
       "      <td>6452577.678</td>\n",
       "      <td>1872007.304</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.228176</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.95</td>\n",
       "      <td>0.269</td>\n",
       "      <td>2.69</td>\n",
       "      <td>3.921255</td>\n",
       "      <td>39.212552</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13608</th>\n",
       "      <td>1906</td>\n",
       "      <td>7854</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627400</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2042.265192</td>\n",
       "      <td>6452580.673</td>\n",
       "      <td>1872004.699</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.191102</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.96</td>\n",
       "      <td>0.126</td>\n",
       "      <td>1.26</td>\n",
       "      <td>3.924809</td>\n",
       "      <td>39.248094</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13609</th>\n",
       "      <td>1906</td>\n",
       "      <td>7855</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627500</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2046.193052</td>\n",
       "      <td>6452583.776</td>\n",
       "      <td>1872002.169</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.18686</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.97</td>\n",
       "      <td>2.98</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>3.927859</td>\n",
       "      <td>39.278592</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13610</th>\n",
       "      <td>1906</td>\n",
       "      <td>7856</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627600</td>\n",
       "      <td>46.163</td>\n",
       "      <td>2050.120197</td>\n",
       "      <td>6452586.772</td>\n",
       "      <td>1871999.6</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.193934</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>1907</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.098</td>\n",
       "      <td>0.98</td>\n",
       "      <td>3.927146</td>\n",
       "      <td>39.271455</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13611</th>\n",
       "      <td>1906</td>\n",
       "      <td>7857</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627700</td>\n",
       "      <td>46.281</td>\n",
       "      <td>2054.048564</td>\n",
       "      <td>6452589.715</td>\n",
       "      <td>1871997.049</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.208832</td>\n",
       "      <td>5</td>\n",
       "      <td>1908</td>\n",
       "      <td>1915</td>\n",
       "      <td>21.79</td>\n",
       "      <td>0.56</td>\n",
       "      <td>0.118</td>\n",
       "      <td>1.18</td>\n",
       "      <td>3.928367</td>\n",
       "      <td>39.283672</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>13612 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0              6      537          577  1118847895700  51.327   738.159285   \n",
       "1              6      538          577  1118847895800  51.259   741.069808   \n",
       "2              6      539          577  1118847895900  51.185   743.963695   \n",
       "3              6      540          577  1118847896000  51.156   746.840082   \n",
       "4              6      541          577  1118847896100  51.132   749.698492   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13607       1906     7853          924  1118848627300  45.939  2038.340383   \n",
       "13608       1906     7854          924  1118848627400  46.065  2042.265192   \n",
       "13609       1906     7855          924  1118848627500  46.065  2046.193052   \n",
       "13610       1906     7856          924  1118848627600  46.163  2050.120197   \n",
       "13611       1906     7857          924  1118848627700  46.281  2054.048564   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ...     v_Acc Lane_ID  \\\n",
       "0      6451593.879  1872857.446     15.5     7.4  ... -1.669198       5   \n",
       "1      6451596.178  1872855.518     15.5     7.4  ... -1.751698       5   \n",
       "2        6451598.5  1872853.578     15.5     7.4  ... -1.831329       5   \n",
       "3       6451600.74   1872851.65     15.5     7.4  ... -1.872445       5   \n",
       "4      6451602.894   1872849.79     15.5     7.4  ... -1.839746       5   \n",
       "...            ...          ...      ...     ...  ...       ...     ...   \n",
       "13607  6452577.678  1872007.304     12.5     5.0  ...  0.228176       4   \n",
       "13608  6452580.673  1872004.699     12.5     5.0  ...  0.191102       4   \n",
       "13609  6452583.776  1872002.169     12.5     5.0  ...   0.18686       4   \n",
       "13610  6452586.772    1871999.6     12.5     5.0  ...  0.193934       4   \n",
       "13611  6452589.715  1871997.049     12.5     5.0  ...  0.208832       5   \n",
       "\n",
       "      Preceding Following Space_Hdwy Time_Hdwy      x   x_a         y  \\\n",
       "0             1        16      82.43      2.75 -0.069 -0.69  2.926326   \n",
       "1             1        16      81.98      2.74 -0.068 -0.68  2.910523   \n",
       "2             1        16      81.45      2.76 -0.074 -0.74  2.893887   \n",
       "3             1        16      80.95      2.81 -0.029 -0.29  2.876387   \n",
       "4             1        16      80.55      2.89 -0.024 -0.24   2.85841   \n",
       "...         ...       ...        ...       ...    ...   ...       ...   \n",
       "13607      1891      1907     117.95      2.95  0.269  2.69  3.921255   \n",
       "13608      1891      1907     117.95      2.96  0.126  1.26  3.924809   \n",
       "13609      1891      1907     117.97      2.98    0.0   0.0  3.927859   \n",
       "13610         0      1907        0.0       0.0  0.098  0.98  3.927146   \n",
       "13611      1908      1915      21.79      0.56  0.118  1.18  3.928367   \n",
       "\n",
       "             y_v  \n",
       "0       29.26326  \n",
       "1      29.105229  \n",
       "2      28.938867  \n",
       "3      28.763871  \n",
       "4      28.584104  \n",
       "...          ...  \n",
       "13607  39.212552  \n",
       "13608  39.248094  \n",
       "13609  39.278592  \n",
       "13610  39.271455  \n",
       "13611  39.283672  \n",
       "\n",
       "[13612 rows x 22 columns]"
      ]
     },
     "execution_count": 44,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "f1=f.iloc[point_list] #---------------------------------根据之前计算的最后一帧索引列表 point_list，从 DataFrame f 中提取相应的行数据，存储到 DataFrame f1 中。\n",
    "f2=f1[['Vehicle_ID','Preceding','Following']].values #--从 f1 中提取 'Vehicle_ID'、'Preceding' 和 'Following' 列，并将其转换为 NumPy 数组，存储到 f2 中\n",
    "index=[]                                                #创建一个空列表 index，用于存储异常数据的索引\n",
    "for i in range(num1):                                   #遍历变道行为的数量次数。\n",
    "    if f2[i][1]>id_max or f2[i][2]>id_max:              #如果 'Preceding' 或 'Following' 列中的值大于 NGSIM 数据中车辆 ID 的最大值，则认为是异常数据。\n",
    "        index.append(i)                                 #将异常数据的索引添加到 index 列表中\n",
    "index_row=[]                                            #创建一个空列表 index_row，用于存储所有需要删除的行的索引\n",
    "for i in index:                                         #遍历异常数据的索引列表。\n",
    "    index_row.extend(a for a in range(i*41,i*41+41))    #根据异常数据的索引，生成需要删除的行的索引，并添加到 index_row 列表中。\n",
    "f=f.drop(index_row)                                     #根据生成的索引列表，从 DataFrame f 中删除相应的行数据\n",
    "f=f.reset_index(drop=True)                              #重置 DataFrame f 的索引，并丢弃原来的索引列\n",
    "f.Vehicle_ID=f.Vehicle_ID.astype('object')              \n",
    "f.Preceding=f.Preceding.astype('object')\n",
    "f.Following=f.Following.astype('object')                #将 'Vehicle_ID'、'Preceding' 和 'Following' 列的数据类型转换为对象类型。\n",
    "f=f.astype('object')                                    #将整个 DataFrame 的数据类型转换为对象类型。\n",
    "f"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "id": "24bdfbbb-ddf4-4e77-86bd-5927e27c757d",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "332.0"
      ]
     },
     "execution_count": 45,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(f)/41"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "id": "f4f18444-c7bf-464e-ae9d-2fa28938448c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[6, 537, 1, 16],\n",
       "       [11, 831, 7, 15],\n",
       "       [20, 860, 14, 26],\n",
       "       ...,\n",
       "       [1863, 7281, 1856, 1870],\n",
       "       [1873, 7677, 1864, 1881],\n",
       "       [1906, 7817, 1891, 1907]], dtype=object)"
      ]
     },
     "execution_count": 46,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "num2=int(len(f)/41)                                 #计算了经过清洗和调整后的 DataFrame f 中变道行为的数量\n",
    "point_list2=[]                                      #创建一个空列表 point_list2，用于存储新的变道行为的最后一帧索引\n",
    "for i in range(num2):                               #遍历新的变道行为的数量次数\n",
    "    point_list2.append(time_point+41*i)             #根据新的变道行为数量计算每次变道行为的最后一帧索引，并将其添加到 point_list2 列表中。\n",
    "f3=f.iloc[point_list2]                              #根据新的变道行为的最后一帧索引列表 point_list2，从 DataFrame f 中提取相应的行数据，存储到 DataFrame f3 中。\n",
    "f4=f3[['Vehicle_ID','Frame_ID','Preceding','Following']].values  #从 f3 中选择 'Vehicle_ID'、'Frame_ID'、'Preceding' 和 'Following' 列，并将其转换为 NumPy 数组，存储到 f4 中。\n",
    "f4"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "id": "952dc5e4-d101-4654-a95b-2dba60a801c8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>x</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.669198</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>82.43</td>\n",
       "      <td>2.75</td>\n",
       "      <td>-0.069</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>6</td>\n",
       "      <td>538</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895800</td>\n",
       "      <td>51.259</td>\n",
       "      <td>741.069808</td>\n",
       "      <td>6451596.178</td>\n",
       "      <td>1872855.518</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.751698</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.98</td>\n",
       "      <td>2.74</td>\n",
       "      <td>-0.068</td>\n",
       "      <td>-0.68</td>\n",
       "      <td>2.910523</td>\n",
       "      <td>29.105229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>6</td>\n",
       "      <td>539</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895900</td>\n",
       "      <td>51.185</td>\n",
       "      <td>743.963695</td>\n",
       "      <td>6451598.5</td>\n",
       "      <td>1872853.578</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.831329</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.45</td>\n",
       "      <td>2.76</td>\n",
       "      <td>-0.074</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>2.893887</td>\n",
       "      <td>28.938867</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>6</td>\n",
       "      <td>540</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896000</td>\n",
       "      <td>51.156</td>\n",
       "      <td>746.840082</td>\n",
       "      <td>6451600.74</td>\n",
       "      <td>1872851.65</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.872445</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.95</td>\n",
       "      <td>2.81</td>\n",
       "      <td>-0.029</td>\n",
       "      <td>-0.29</td>\n",
       "      <td>2.876387</td>\n",
       "      <td>28.763871</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>6</td>\n",
       "      <td>541</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896100</td>\n",
       "      <td>51.132</td>\n",
       "      <td>749.698492</td>\n",
       "      <td>6451602.894</td>\n",
       "      <td>1872849.79</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.839746</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.55</td>\n",
       "      <td>2.89</td>\n",
       "      <td>-0.024</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>2.85841</td>\n",
       "      <td>28.584104</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13275</th>\n",
       "      <td>1906</td>\n",
       "      <td>7852</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627200</td>\n",
       "      <td>45.67</td>\n",
       "      <td>2034.419128</td>\n",
       "      <td>6452574.737</td>\n",
       "      <td>1872010.049</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.295421</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.96</td>\n",
       "      <td>2.94</td>\n",
       "      <td>0.456</td>\n",
       "      <td>4.56</td>\n",
       "      <td>3.916751</td>\n",
       "      <td>39.167513</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13276</th>\n",
       "      <td>1906</td>\n",
       "      <td>7853</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627300</td>\n",
       "      <td>45.939</td>\n",
       "      <td>2038.340383</td>\n",
       "      <td>6452577.678</td>\n",
       "      <td>1872007.304</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.228176</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.95</td>\n",
       "      <td>0.269</td>\n",
       "      <td>2.69</td>\n",
       "      <td>3.921255</td>\n",
       "      <td>39.212552</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13277</th>\n",
       "      <td>1906</td>\n",
       "      <td>7854</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627400</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2042.265192</td>\n",
       "      <td>6452580.673</td>\n",
       "      <td>1872004.699</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.191102</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.96</td>\n",
       "      <td>0.126</td>\n",
       "      <td>1.26</td>\n",
       "      <td>3.924809</td>\n",
       "      <td>39.248094</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13278</th>\n",
       "      <td>1906</td>\n",
       "      <td>7855</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627500</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2046.193052</td>\n",
       "      <td>6452583.776</td>\n",
       "      <td>1872002.169</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.18686</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.97</td>\n",
       "      <td>2.98</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>3.927859</td>\n",
       "      <td>39.278592</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13279</th>\n",
       "      <td>1906</td>\n",
       "      <td>7856</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627600</td>\n",
       "      <td>46.163</td>\n",
       "      <td>2050.120197</td>\n",
       "      <td>6452586.772</td>\n",
       "      <td>1871999.6</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.193934</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>1907</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.098</td>\n",
       "      <td>0.98</td>\n",
       "      <td>3.927146</td>\n",
       "      <td>39.271455</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>13280 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0              6      537          577  1118847895700  51.327   738.159285   \n",
       "1              6      538          577  1118847895800  51.259   741.069808   \n",
       "2              6      539          577  1118847895900  51.185   743.963695   \n",
       "3              6      540          577  1118847896000  51.156   746.840082   \n",
       "4              6      541          577  1118847896100  51.132   749.698492   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13275       1906     7852          924  1118848627200   45.67  2034.419128   \n",
       "13276       1906     7853          924  1118848627300  45.939  2038.340383   \n",
       "13277       1906     7854          924  1118848627400  46.065  2042.265192   \n",
       "13278       1906     7855          924  1118848627500  46.065  2046.193052   \n",
       "13279       1906     7856          924  1118848627600  46.163  2050.120197   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ...     v_Acc Lane_ID  \\\n",
       "0      6451593.879  1872857.446     15.5     7.4  ... -1.669198       5   \n",
       "1      6451596.178  1872855.518     15.5     7.4  ... -1.751698       5   \n",
       "2        6451598.5  1872853.578     15.5     7.4  ... -1.831329       5   \n",
       "3       6451600.74   1872851.65     15.5     7.4  ... -1.872445       5   \n",
       "4      6451602.894   1872849.79     15.5     7.4  ... -1.839746       5   \n",
       "...            ...          ...      ...     ...  ...       ...     ...   \n",
       "13275  6452574.737  1872010.049     12.5     5.0  ...  0.295421       4   \n",
       "13276  6452577.678  1872007.304     12.5     5.0  ...  0.228176       4   \n",
       "13277  6452580.673  1872004.699     12.5     5.0  ...  0.191102       4   \n",
       "13278  6452583.776  1872002.169     12.5     5.0  ...   0.18686       4   \n",
       "13279  6452586.772    1871999.6     12.5     5.0  ...  0.193934       4   \n",
       "\n",
       "      Preceding Following Space_Hdwy Time_Hdwy      x   x_a         y  \\\n",
       "0             1        16      82.43      2.75 -0.069 -0.69  2.926326   \n",
       "1             1        16      81.98      2.74 -0.068 -0.68  2.910523   \n",
       "2             1        16      81.45      2.76 -0.074 -0.74  2.893887   \n",
       "3             1        16      80.95      2.81 -0.029 -0.29  2.876387   \n",
       "4             1        16      80.55      2.89 -0.024 -0.24   2.85841   \n",
       "...         ...       ...        ...       ...    ...   ...       ...   \n",
       "13275      1891      1907     117.96      2.94  0.456  4.56  3.916751   \n",
       "13276      1891      1907     117.95      2.95  0.269  2.69  3.921255   \n",
       "13277      1891      1907     117.95      2.96  0.126  1.26  3.924809   \n",
       "13278      1891      1907     117.97      2.98    0.0   0.0  3.927859   \n",
       "13279         0      1907        0.0       0.0  0.098  0.98  3.927146   \n",
       "\n",
       "             y_v  \n",
       "0       29.26326  \n",
       "1      29.105229  \n",
       "2      28.938867  \n",
       "3      28.763871  \n",
       "4      28.584104  \n",
       "...          ...  \n",
       "13275  39.167513  \n",
       "13276  39.212552  \n",
       "13277  39.248094  \n",
       "13278  39.278592  \n",
       "13279  39.271455  \n",
       "\n",
       "[13280 rows x 22 columns]"
      ]
     },
     "execution_count": 47,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "row41=[]                        #创建一个空列表 row41，用于存储需要删除的行的索引。\n",
    "for i in range(num2):           #遍历新的变道行为的数量次数\n",
    "    row41.append(41*i+40)       #根据当前变道行为的索引计算出最后一帧的索引，并将其添加到 row41 列表中。\n",
    "df=f.drop(row41)                #根据生成的索引列表，从 DataFrame f 中删除相应的行数据\n",
    "df=df.reset_index(drop=True)    #重置 DataFrame df 的索引，并丢弃原来的索引列\n",
    "df                              #此时df中是处理好的变道前40帧数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "id": "08e6f2c8-3b50-43e1-9c84-5f2616756a17",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[40,\n",
       " 81,\n",
       " 122,\n",
       " 163,\n",
       " 204,\n",
       " 245,\n",
       " 286,\n",
       " 327,\n",
       " 368,\n",
       " 409,\n",
       " 450,\n",
       " 491,\n",
       " 532,\n",
       " 573,\n",
       " 614,\n",
       " 655,\n",
       " 696,\n",
       " 737,\n",
       " 778,\n",
       " 819,\n",
       " 860,\n",
       " 901,\n",
       " 942,\n",
       " 983,\n",
       " 1024,\n",
       " 1065,\n",
       " 1106,\n",
       " 1147,\n",
       " 1188,\n",
       " 1229,\n",
       " 1270,\n",
       " 1311,\n",
       " 1352,\n",
       " 1393,\n",
       " 1434,\n",
       " 1475,\n",
       " 1516,\n",
       " 1557,\n",
       " 1598,\n",
       " 1639,\n",
       " 1680,\n",
       " 1721,\n",
       " 1762,\n",
       " 1803,\n",
       " 1844,\n",
       " 1885,\n",
       " 1926,\n",
       " 1967,\n",
       " 2008,\n",
       " 2049,\n",
       " 2090,\n",
       " 2131,\n",
       " 2172,\n",
       " 2213,\n",
       " 2254,\n",
       " 2295,\n",
       " 2336,\n",
       " 2377,\n",
       " 2418,\n",
       " 2459,\n",
       " 2500,\n",
       " 2541,\n",
       " 2582,\n",
       " 2623,\n",
       " 2664,\n",
       " 2705,\n",
       " 2746,\n",
       " 2787,\n",
       " 2828,\n",
       " 2869,\n",
       " 2910,\n",
       " 2951,\n",
       " 2992,\n",
       " 3033,\n",
       " 3074,\n",
       " 3115,\n",
       " 3156,\n",
       " 3197,\n",
       " 3238,\n",
       " 3279,\n",
       " 3320,\n",
       " 3361,\n",
       " 3402,\n",
       " 3443,\n",
       " 3484,\n",
       " 3525,\n",
       " 3566,\n",
       " 3607,\n",
       " 3648,\n",
       " 3689,\n",
       " 3730,\n",
       " 3771,\n",
       " 3812,\n",
       " 3853,\n",
       " 3894,\n",
       " 3935,\n",
       " 3976,\n",
       " 4017,\n",
       " 4058,\n",
       " 4099,\n",
       " 4140,\n",
       " 4181,\n",
       " 4222,\n",
       " 4263,\n",
       " 4304,\n",
       " 4345,\n",
       " 4386,\n",
       " 4427,\n",
       " 4468,\n",
       " 4509,\n",
       " 4550,\n",
       " 4591,\n",
       " 4632,\n",
       " 4673,\n",
       " 4714,\n",
       " 4755,\n",
       " 4796,\n",
       " 4837,\n",
       " 4878,\n",
       " 4919,\n",
       " 4960,\n",
       " 5001,\n",
       " 5042,\n",
       " 5083,\n",
       " 5124,\n",
       " 5165,\n",
       " 5206,\n",
       " 5247,\n",
       " 5288,\n",
       " 5329,\n",
       " 5370,\n",
       " 5411,\n",
       " 5452,\n",
       " 5493,\n",
       " 5534,\n",
       " 5575,\n",
       " 5616,\n",
       " 5657,\n",
       " 5698,\n",
       " 5739,\n",
       " 5780,\n",
       " 5821,\n",
       " 5862,\n",
       " 5903,\n",
       " 5944,\n",
       " 5985,\n",
       " 6026,\n",
       " 6067,\n",
       " 6108,\n",
       " 6149,\n",
       " 6190,\n",
       " 6231,\n",
       " 6272,\n",
       " 6313,\n",
       " 6354,\n",
       " 6395,\n",
       " 6436,\n",
       " 6477,\n",
       " 6518,\n",
       " 6559,\n",
       " 6600,\n",
       " 6641,\n",
       " 6682,\n",
       " 6723,\n",
       " 6764,\n",
       " 6805,\n",
       " 6846,\n",
       " 6887,\n",
       " 6928,\n",
       " 6969,\n",
       " 7010,\n",
       " 7051,\n",
       " 7092,\n",
       " 7133,\n",
       " 7174,\n",
       " 7215,\n",
       " 7256,\n",
       " 7297,\n",
       " 7338,\n",
       " 7379,\n",
       " 7420,\n",
       " 7461,\n",
       " 7502,\n",
       " 7543,\n",
       " 7584,\n",
       " 7625,\n",
       " 7666,\n",
       " 7707,\n",
       " 7748,\n",
       " 7789,\n",
       " 7830,\n",
       " 7871,\n",
       " 7912,\n",
       " 7953,\n",
       " 7994,\n",
       " 8035,\n",
       " 8076,\n",
       " 8117,\n",
       " 8158,\n",
       " 8199,\n",
       " 8240,\n",
       " 8281,\n",
       " 8322,\n",
       " 8363,\n",
       " 8404,\n",
       " 8445,\n",
       " 8486,\n",
       " 8527,\n",
       " 8568,\n",
       " 8609,\n",
       " 8650,\n",
       " 8691,\n",
       " 8732,\n",
       " 8773,\n",
       " 8814,\n",
       " 8855,\n",
       " 8896,\n",
       " 8937,\n",
       " 8978,\n",
       " 9019,\n",
       " 9060,\n",
       " 9101,\n",
       " 9142,\n",
       " 9183,\n",
       " 9224,\n",
       " 9265,\n",
       " 9306,\n",
       " 9347,\n",
       " 9388,\n",
       " 9429,\n",
       " 9470,\n",
       " 9511,\n",
       " 9552,\n",
       " 9593,\n",
       " 9634,\n",
       " 9675,\n",
       " 9716,\n",
       " 9757,\n",
       " 9798,\n",
       " 9839,\n",
       " 9880,\n",
       " 9921,\n",
       " 9962,\n",
       " 10003,\n",
       " 10044,\n",
       " 10085,\n",
       " 10126,\n",
       " 10167,\n",
       " 10208,\n",
       " 10249,\n",
       " 10290,\n",
       " 10331,\n",
       " 10372,\n",
       " 10413,\n",
       " 10454,\n",
       " 10495,\n",
       " 10536,\n",
       " 10577,\n",
       " 10618,\n",
       " 10659,\n",
       " 10700,\n",
       " 10741,\n",
       " 10782,\n",
       " 10823,\n",
       " 10864,\n",
       " 10905,\n",
       " 10946,\n",
       " 10987,\n",
       " 11028,\n",
       " 11069,\n",
       " 11110,\n",
       " 11151,\n",
       " 11192,\n",
       " 11233,\n",
       " 11274,\n",
       " 11315,\n",
       " 11356,\n",
       " 11397,\n",
       " 11438,\n",
       " 11479,\n",
       " 11520,\n",
       " 11561,\n",
       " 11602,\n",
       " 11643,\n",
       " 11684,\n",
       " 11725,\n",
       " 11766,\n",
       " 11807,\n",
       " 11848,\n",
       " 11889,\n",
       " 11930,\n",
       " 11971,\n",
       " 12012,\n",
       " 12053,\n",
       " 12094,\n",
       " 12135,\n",
       " 12176,\n",
       " 12217,\n",
       " 12258,\n",
       " 12299,\n",
       " 12340,\n",
       " 12381,\n",
       " 12422,\n",
       " 12463,\n",
       " 12504,\n",
       " 12545,\n",
       " 12586,\n",
       " 12627,\n",
       " 12668,\n",
       " 12709,\n",
       " 12750,\n",
       " 12791,\n",
       " 12832,\n",
       " 12873,\n",
       " 12914,\n",
       " 12955,\n",
       " 12996,\n",
       " 13037,\n",
       " 13078,\n",
       " 13119,\n",
       " 13160,\n",
       " 13201,\n",
       " 13242,\n",
       " 13283,\n",
       " 13324,\n",
       " 13365,\n",
       " 13406,\n",
       " 13447,\n",
       " 13488,\n",
       " 13529,\n",
       " 13570,\n",
       " 13611]"
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "row41"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "id": "92c95a5f-1781-439c-9aa4-45b84840c0c8",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>x</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>6</td>\n",
       "      <td>577</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847899700</td>\n",
       "      <td>44.856</td>\n",
       "      <td>858.414958</td>\n",
       "      <td>6451687.185</td>\n",
       "      <td>1872784.092</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.787737</td>\n",
       "      <td>4</td>\n",
       "      <td>2</td>\n",
       "      <td>10</td>\n",
       "      <td>45.27</td>\n",
       "      <td>1.31</td>\n",
       "      <td>-0.387</td>\n",
       "      <td>-3.87</td>\n",
       "      <td>3.367336</td>\n",
       "      <td>33.673356</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>81</th>\n",
       "      <td>11</td>\n",
       "      <td>871</td>\n",
       "      <td>654</td>\n",
       "      <td>1118847929100</td>\n",
       "      <td>35.269</td>\n",
       "      <td>2035.220962</td>\n",
       "      <td>6452582.935</td>\n",
       "      <td>1872016.785</td>\n",
       "      <td>17.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.362846</td>\n",
       "      <td>4</td>\n",
       "      <td>10</td>\n",
       "      <td>14</td>\n",
       "      <td>2.34</td>\n",
       "      <td>0.04</td>\n",
       "      <td>0.237</td>\n",
       "      <td>2.37</td>\n",
       "      <td>5.195111</td>\n",
       "      <td>51.951113</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>20</td>\n",
       "      <td>900</td>\n",
       "      <td>636</td>\n",
       "      <td>1118847932000</td>\n",
       "      <td>46.283</td>\n",
       "      <td>2057.106558</td>\n",
       "      <td>6452592.529</td>\n",
       "      <td>1871994.752</td>\n",
       "      <td>15.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.825335</td>\n",
       "      <td>5</td>\n",
       "      <td>21</td>\n",
       "      <td>25</td>\n",
       "      <td>72.5</td>\n",
       "      <td>1.32</td>\n",
       "      <td>0.257</td>\n",
       "      <td>2.57</td>\n",
       "      <td>5.524167</td>\n",
       "      <td>55.241665</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163</th>\n",
       "      <td>31</td>\n",
       "      <td>953</td>\n",
       "      <td>550</td>\n",
       "      <td>1118847937300</td>\n",
       "      <td>46.286</td>\n",
       "      <td>2154.962023</td>\n",
       "      <td>6452668.915</td>\n",
       "      <td>1871933.303</td>\n",
       "      <td>13.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.468485</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>34</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>-2.4</td>\n",
       "      <td>5.267165</td>\n",
       "      <td>52.671646</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>204</th>\n",
       "      <td>37</td>\n",
       "      <td>795</td>\n",
       "      <td>559</td>\n",
       "      <td>1118847921500</td>\n",
       "      <td>45.24</td>\n",
       "      <td>1168.634623</td>\n",
       "      <td>6451920.464</td>\n",
       "      <td>1872579.907</td>\n",
       "      <td>18.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.421924</td>\n",
       "      <td>4</td>\n",
       "      <td>38</td>\n",
       "      <td>42</td>\n",
       "      <td>35.75</td>\n",
       "      <td>0.85</td>\n",
       "      <td>-0.194</td>\n",
       "      <td>-1.94</td>\n",
       "      <td>4.256623</td>\n",
       "      <td>42.566228</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13447</th>\n",
       "      <td>1835</td>\n",
       "      <td>6811</td>\n",
       "      <td>1030</td>\n",
       "      <td>1118848523100</td>\n",
       "      <td>12.023</td>\n",
       "      <td>346.149605</td>\n",
       "      <td>6451327.576</td>\n",
       "      <td>1873152.792</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>1.591605</td>\n",
       "      <td>2</td>\n",
       "      <td>1829</td>\n",
       "      <td>1849</td>\n",
       "      <td>65.16</td>\n",
       "      <td>1.63</td>\n",
       "      <td>0.428</td>\n",
       "      <td>4.28</td>\n",
       "      <td>3.895873</td>\n",
       "      <td>38.958727</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13488</th>\n",
       "      <td>1835</td>\n",
       "      <td>7569</td>\n",
       "      <td>1030</td>\n",
       "      <td>1118848598900</td>\n",
       "      <td>11.713</td>\n",
       "      <td>1767.737911</td>\n",
       "      <td>6452392.703</td>\n",
       "      <td>1872210.787</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>1.981567</td>\n",
       "      <td>1</td>\n",
       "      <td>1842</td>\n",
       "      <td>1856</td>\n",
       "      <td>76.02</td>\n",
       "      <td>1.6</td>\n",
       "      <td>-0.245</td>\n",
       "      <td>-2.45</td>\n",
       "      <td>4.673353</td>\n",
       "      <td>46.733535</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13529</th>\n",
       "      <td>1863</td>\n",
       "      <td>7321</td>\n",
       "      <td>988</td>\n",
       "      <td>1118848574100</td>\n",
       "      <td>12.755</td>\n",
       "      <td>1243.17973</td>\n",
       "      <td>6451996.706</td>\n",
       "      <td>1872556.427</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>3.316805</td>\n",
       "      <td>2</td>\n",
       "      <td>1823</td>\n",
       "      <td>1829</td>\n",
       "      <td>33.78</td>\n",
       "      <td>1.8</td>\n",
       "      <td>0.244</td>\n",
       "      <td>2.44</td>\n",
       "      <td>1.910508</td>\n",
       "      <td>19.105083</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13570</th>\n",
       "      <td>1873</td>\n",
       "      <td>7717</td>\n",
       "      <td>943</td>\n",
       "      <td>1118848613700</td>\n",
       "      <td>12.553</td>\n",
       "      <td>2137.69275</td>\n",
       "      <td>6452676.464</td>\n",
       "      <td>1871970.416</td>\n",
       "      <td>16.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.249391</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>1880</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>-0.2</td>\n",
       "      <td>-2.0</td>\n",
       "      <td>5.217236</td>\n",
       "      <td>52.172357</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13611</th>\n",
       "      <td>1906</td>\n",
       "      <td>7857</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627700</td>\n",
       "      <td>46.281</td>\n",
       "      <td>2054.048564</td>\n",
       "      <td>6452589.715</td>\n",
       "      <td>1871997.049</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.208832</td>\n",
       "      <td>5</td>\n",
       "      <td>1908</td>\n",
       "      <td>1915</td>\n",
       "      <td>21.79</td>\n",
       "      <td>0.56</td>\n",
       "      <td>0.118</td>\n",
       "      <td>1.18</td>\n",
       "      <td>3.928367</td>\n",
       "      <td>39.283672</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>332 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "40             6      577          577  1118847899700  44.856   858.414958   \n",
       "81            11      871          654  1118847929100  35.269  2035.220962   \n",
       "122           20      900          636  1118847932000  46.283  2057.106558   \n",
       "163           31      953          550  1118847937300  46.286  2154.962023   \n",
       "204           37      795          559  1118847921500   45.24  1168.634623   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13447       1835     6811         1030  1118848523100  12.023   346.149605   \n",
       "13488       1835     7569         1030  1118848598900  11.713  1767.737911   \n",
       "13529       1863     7321          988  1118848574100  12.755   1243.17973   \n",
       "13570       1873     7717          943  1118848613700  12.553   2137.69275   \n",
       "13611       1906     7857          924  1118848627700  46.281  2054.048564   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ...     v_Acc Lane_ID  \\\n",
       "40     6451687.185  1872784.092     15.5     7.4  ...  0.787737       4   \n",
       "81     6452582.935  1872016.785     17.0     6.4  ... -1.362846       4   \n",
       "122    6452592.529  1871994.752     15.5     6.9  ... -0.825335       5   \n",
       "163    6452668.915  1871933.303     13.5     6.9  ...  0.468485       4   \n",
       "204    6451920.464  1872579.907     18.0     7.4  ...  1.421924       4   \n",
       "...            ...          ...      ...     ...  ...       ...     ...   \n",
       "13447  6451327.576  1873152.792     13.5     5.9  ...  1.591605       2   \n",
       "13488  6452392.703  1872210.787     13.5     5.9  ...  1.981567       1   \n",
       "13529  6451996.706  1872556.427     14.0     6.9  ...  3.316805       2   \n",
       "13570  6452676.464  1871970.416     16.0     6.9  ... -0.249391       1   \n",
       "13611  6452589.715  1871997.049     12.5     5.0  ...  0.208832       5   \n",
       "\n",
       "      Preceding Following Space_Hdwy Time_Hdwy      x   x_a         y  \\\n",
       "40            2        10      45.27      1.31 -0.387 -3.87  3.367336   \n",
       "81           10        14       2.34      0.04  0.237  2.37  5.195111   \n",
       "122          21        25       72.5      1.32  0.257  2.57  5.524167   \n",
       "163           0        34        0.0       0.0  -0.24  -2.4  5.267165   \n",
       "204          38        42      35.75      0.85 -0.194 -1.94  4.256623   \n",
       "...         ...       ...        ...       ...    ...   ...       ...   \n",
       "13447      1829      1849      65.16      1.63  0.428  4.28  3.895873   \n",
       "13488      1842      1856      76.02       1.6 -0.245 -2.45  4.673353   \n",
       "13529      1823      1829      33.78       1.8  0.244  2.44  1.910508   \n",
       "13570         0      1880        0.0       0.0   -0.2  -2.0  5.217236   \n",
       "13611      1908      1915      21.79      0.56  0.118  1.18  3.928367   \n",
       "\n",
       "             y_v  \n",
       "40     33.673356  \n",
       "81     51.951113  \n",
       "122    55.241665  \n",
       "163    52.671646  \n",
       "204    42.566228  \n",
       "...          ...  \n",
       "13447  38.958727  \n",
       "13488  46.733535  \n",
       "13529  19.105083  \n",
       "13570  52.172357  \n",
       "13611  39.283672  \n",
       "\n",
       "[332 rows x 22 columns]"
      ]
     },
     "execution_count": 49,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd41=f.loc[row41] #使用 loc 函数根据给定的行索引列表 row41，从 DataFrame f 中提取相应的行数据，并将结果存储到 DataFrame pd41 中。\n",
    "pd41              #存储变道行为的最后一帧，即变道后的一帧"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "id": "32d16e35-7e80-4f2b-a845-9aebd9118809",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([4, 4, 5, 4, 4, 4, 5, 4, 3, 2, 2, 3, 1, 2, 5, 2, 3, 4, 2, 3, 4, 2,\n",
       "       2, 4, 3, 1, 2, 1, 1, 4, 5, 2, 3, 3, 4, 5, 2, 2, 5, 2, 3, 1, 5, 8,\n",
       "       4, 1, 2, 2, 3, 5, 4, 3, 4, 3, 1, 2, 2, 3, 1, 4, 2, 5, 7, 8, 2, 4,\n",
       "       1, 4, 3, 3, 3, 4, 1, 2, 5, 4, 3, 5, 2, 4, 3, 3, 4, 2, 3, 5, 2, 4,\n",
       "       4, 2, 5, 4, 3, 3, 2, 5, 4, 4, 2, 1, 4, 3, 1, 4, 4, 3, 5, 1, 5, 4,\n",
       "       5, 2, 5, 3, 3, 3, 4, 3, 2, 4, 4, 5, 2, 1, 3, 6, 4, 3, 3, 2, 4, 5,\n",
       "       4, 3, 2, 1, 1, 2, 1, 4, 2, 2, 3, 4, 5, 6, 3, 4, 5, 5, 4, 2, 5, 4,\n",
       "       2, 3, 5, 6, 5, 4, 2, 2, 3, 3, 2, 4, 3, 2, 5, 4, 1, 1, 5, 4, 3, 3,\n",
       "       4, 3, 2, 3, 3, 3, 4, 4, 3, 2, 3, 2, 2, 8, 4, 2, 2, 1, 4, 3, 2, 2,\n",
       "       5, 3, 4, 5, 4, 1, 2, 1, 4, 3, 3, 2, 1, 4, 3, 5, 4, 4, 3, 4, 4, 4,\n",
       "       1, 2, 3, 4, 1, 2, 1, 2, 4, 3, 2, 3, 2, 1, 2, 3, 3, 4, 5, 5, 4, 2,\n",
       "       4, 5, 4, 5, 5, 2, 4, 2, 4, 3, 1, 1, 2, 2, 1, 4, 3, 4, 4, 5, 4, 2,\n",
       "       4, 3, 3, 4, 3, 4, 5, 6, 4, 3, 2, 4, 3, 2, 1, 3, 3, 4, 1, 3, 2, 1,\n",
       "       4, 3, 2, 5, 1, 2, 3, 2, 1, 2, 3, 3, 5, 2, 2, 5, 2, 2, 3, 3, 5, 4,\n",
       "       4, 4, 4, 5, 6, 8, 5, 4, 1, 3, 3, 2, 5, 4, 2, 1, 4, 3, 3, 2, 1, 2,\n",
       "       1, 5], dtype=object)"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "aim_lane=pd41.Lane_ID.values #从 DataFrame pd41 中选择 'Lane_ID' 列，并使用 .values 将其转换为 NumPy 数组，并将结果存储到 aim_lane 中\n",
    "aim_lane"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "id": "0aa93da3-6ddc-4ffc-8644-ee3bf7d84399",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 1,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 5,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 2,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 4,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " 3,\n",
       " ...]"
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "aim_lane_list=[]                    #创建一个空列表 aim_lane_list，用于存储重复后的 'Lane_ID' 数据\n",
    "for i in aim_lane:                  #遍历 aim_lane 数组中的每个元素\n",
    "    for a in range(40):             #对于每个元素，使用嵌套的循环重复 40 次。\n",
    "        aim_lane_list.append(i)     #将当前元素 i 添加到 aim_lane_list 列表中\n",
    "aim_lane_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "id": "b8cbc993-eb0f-4e60-b46d-15f9495a8a05",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>aim_lane</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13275</th>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13276</th>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13277</th>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13278</th>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13279</th>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>13280 rows × 1 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       aim_lane\n",
       "0             4\n",
       "1             4\n",
       "2             4\n",
       "3             4\n",
       "4             4\n",
       "...         ...\n",
       "13275         5\n",
       "13276         5\n",
       "13277         5\n",
       "13278         5\n",
       "13279         5\n",
       "\n",
       "[13280 rows x 1 columns]"
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "aim_lane_data=pd.DataFrame(data=aim_lane_list,columns=['aim_lane']) #使用 Pandas 的 DataFrame 函数创建了一个 DataFrame，其中的数据来自 aim_lane_list 列表，列名为 'aim_lane'\n",
    "aim_lane_data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "id": "09404a9e-c75d-4225-aaf8-f3a62a7914c9",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>x</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "      <th>aim_lane</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>82.43</td>\n",
       "      <td>2.75</td>\n",
       "      <td>-0.069</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>6</td>\n",
       "      <td>538</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895800</td>\n",
       "      <td>51.259</td>\n",
       "      <td>741.069808</td>\n",
       "      <td>6451596.178</td>\n",
       "      <td>1872855.518</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.98</td>\n",
       "      <td>2.74</td>\n",
       "      <td>-0.068</td>\n",
       "      <td>-0.68</td>\n",
       "      <td>2.910523</td>\n",
       "      <td>29.105229</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>6</td>\n",
       "      <td>539</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895900</td>\n",
       "      <td>51.185</td>\n",
       "      <td>743.963695</td>\n",
       "      <td>6451598.5</td>\n",
       "      <td>1872853.578</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>81.45</td>\n",
       "      <td>2.76</td>\n",
       "      <td>-0.074</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>2.893887</td>\n",
       "      <td>28.938867</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>6</td>\n",
       "      <td>540</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896000</td>\n",
       "      <td>51.156</td>\n",
       "      <td>746.840082</td>\n",
       "      <td>6451600.74</td>\n",
       "      <td>1872851.65</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.95</td>\n",
       "      <td>2.81</td>\n",
       "      <td>-0.029</td>\n",
       "      <td>-0.29</td>\n",
       "      <td>2.876387</td>\n",
       "      <td>28.763871</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>6</td>\n",
       "      <td>541</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896100</td>\n",
       "      <td>51.132</td>\n",
       "      <td>749.698492</td>\n",
       "      <td>6451602.894</td>\n",
       "      <td>1872849.79</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>5</td>\n",
       "      <td>1</td>\n",
       "      <td>16</td>\n",
       "      <td>80.55</td>\n",
       "      <td>2.89</td>\n",
       "      <td>-0.024</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>2.85841</td>\n",
       "      <td>28.584104</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13275</th>\n",
       "      <td>1906</td>\n",
       "      <td>7852</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627200</td>\n",
       "      <td>45.67</td>\n",
       "      <td>2034.419128</td>\n",
       "      <td>6452574.737</td>\n",
       "      <td>1872010.049</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.96</td>\n",
       "      <td>2.94</td>\n",
       "      <td>0.456</td>\n",
       "      <td>4.56</td>\n",
       "      <td>3.916751</td>\n",
       "      <td>39.167513</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13276</th>\n",
       "      <td>1906</td>\n",
       "      <td>7853</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627300</td>\n",
       "      <td>45.939</td>\n",
       "      <td>2038.340383</td>\n",
       "      <td>6452577.678</td>\n",
       "      <td>1872007.304</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.95</td>\n",
       "      <td>0.269</td>\n",
       "      <td>2.69</td>\n",
       "      <td>3.921255</td>\n",
       "      <td>39.212552</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13277</th>\n",
       "      <td>1906</td>\n",
       "      <td>7854</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627400</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2042.265192</td>\n",
       "      <td>6452580.673</td>\n",
       "      <td>1872004.699</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.95</td>\n",
       "      <td>2.96</td>\n",
       "      <td>0.126</td>\n",
       "      <td>1.26</td>\n",
       "      <td>3.924809</td>\n",
       "      <td>39.248094</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13278</th>\n",
       "      <td>1906</td>\n",
       "      <td>7855</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627500</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2046.193052</td>\n",
       "      <td>6452583.776</td>\n",
       "      <td>1872002.169</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>1891</td>\n",
       "      <td>1907</td>\n",
       "      <td>117.97</td>\n",
       "      <td>2.98</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>3.927859</td>\n",
       "      <td>39.278592</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13279</th>\n",
       "      <td>1906</td>\n",
       "      <td>7856</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627600</td>\n",
       "      <td>46.163</td>\n",
       "      <td>2050.120197</td>\n",
       "      <td>6452586.772</td>\n",
       "      <td>1871999.6</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4</td>\n",
       "      <td>0</td>\n",
       "      <td>1907</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.098</td>\n",
       "      <td>0.98</td>\n",
       "      <td>3.927146</td>\n",
       "      <td>39.271455</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>13280 rows × 23 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0              6      537          577  1118847895700  51.327   738.159285   \n",
       "1              6      538          577  1118847895800  51.259   741.069808   \n",
       "2              6      539          577  1118847895900  51.185   743.963695   \n",
       "3              6      540          577  1118847896000  51.156   746.840082   \n",
       "4              6      541          577  1118847896100  51.132   749.698492   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13275       1906     7852          924  1118848627200   45.67  2034.419128   \n",
       "13276       1906     7853          924  1118848627300  45.939  2038.340383   \n",
       "13277       1906     7854          924  1118848627400  46.065  2042.265192   \n",
       "13278       1906     7855          924  1118848627500  46.065  2046.193052   \n",
       "13279       1906     7856          924  1118848627600  46.163  2050.120197   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ... Lane_ID Preceding  \\\n",
       "0      6451593.879  1872857.446     15.5     7.4  ...       5         1   \n",
       "1      6451596.178  1872855.518     15.5     7.4  ...       5         1   \n",
       "2        6451598.5  1872853.578     15.5     7.4  ...       5         1   \n",
       "3       6451600.74   1872851.65     15.5     7.4  ...       5         1   \n",
       "4      6451602.894   1872849.79     15.5     7.4  ...       5         1   \n",
       "...            ...          ...      ...     ...  ...     ...       ...   \n",
       "13275  6452574.737  1872010.049     12.5     5.0  ...       4      1891   \n",
       "13276  6452577.678  1872007.304     12.5     5.0  ...       4      1891   \n",
       "13277  6452580.673  1872004.699     12.5     5.0  ...       4      1891   \n",
       "13278  6452583.776  1872002.169     12.5     5.0  ...       4      1891   \n",
       "13279  6452586.772    1871999.6     12.5     5.0  ...       4         0   \n",
       "\n",
       "      Following Space_Hdwy Time_Hdwy      x   x_a         y        y_v  \\\n",
       "0            16      82.43      2.75 -0.069 -0.69  2.926326   29.26326   \n",
       "1            16      81.98      2.74 -0.068 -0.68  2.910523  29.105229   \n",
       "2            16      81.45      2.76 -0.074 -0.74  2.893887  28.938867   \n",
       "3            16      80.95      2.81 -0.029 -0.29  2.876387  28.763871   \n",
       "4            16      80.55      2.89 -0.024 -0.24   2.85841  28.584104   \n",
       "...         ...        ...       ...    ...   ...       ...        ...   \n",
       "13275      1907     117.96      2.94  0.456  4.56  3.916751  39.167513   \n",
       "13276      1907     117.95      2.95  0.269  2.69  3.921255  39.212552   \n",
       "13277      1907     117.95      2.96  0.126  1.26  3.924809  39.248094   \n",
       "13278      1907     117.97      2.98    0.0   0.0  3.927859  39.278592   \n",
       "13279      1907        0.0       0.0  0.098  0.98  3.927146  39.271455   \n",
       "\n",
       "      aim_lane  \n",
       "0            4  \n",
       "1            4  \n",
       "2            4  \n",
       "3            4  \n",
       "4            4  \n",
       "...        ...  \n",
       "13275        5  \n",
       "13276        5  \n",
       "13277        5  \n",
       "13278        5  \n",
       "13279        5  \n",
       "\n",
       "[13280 rows x 23 columns]"
      ]
     },
     "execution_count": 53,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df_new=pd.concat([df,aim_lane_data],axis=1) #使用 Pandas 的 concat() 函数将两个 DataFrame df 和 aim_lane_data 沿着列方向（axis=1）进行合并，即将它们的列合并在一起。合并后的结果存储到了一个新的 DataFrame df_new 中。\n",
    "df_new"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "id": "e221fcfc-5c2c-47e9-8ed4-c672badcb61c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>v_Class</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceeding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>270</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847869000</td>\n",
       "      <td>51.164</td>\n",
       "      <td>112.878000</td>\n",
       "      <td>6451136.708</td>\n",
       "      <td>1873294.084</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>19.890000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1</td>\n",
       "      <td>271</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847869100</td>\n",
       "      <td>51.153</td>\n",
       "      <td>114.878000</td>\n",
       "      <td>6451138.053</td>\n",
       "      <td>1873292.603</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>19.890000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1</td>\n",
       "      <td>272</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847869200</td>\n",
       "      <td>51.143</td>\n",
       "      <td>116.853399</td>\n",
       "      <td>6451139.397</td>\n",
       "      <td>1873291.122</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>19.890000</td>\n",
       "      <td>0.196990</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1</td>\n",
       "      <td>273</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847869300</td>\n",
       "      <td>51.244</td>\n",
       "      <td>118.840344</td>\n",
       "      <td>6451140.617</td>\n",
       "      <td>1873289.614</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>19.914792</td>\n",
       "      <td>0.246158</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1</td>\n",
       "      <td>274</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847869400</td>\n",
       "      <td>51.234</td>\n",
       "      <td>120.838802</td>\n",
       "      <td>6451141.961</td>\n",
       "      <td>1873288.133</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>19.843820</td>\n",
       "      <td>-0.927490</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>564</th>\n",
       "      <td>1</td>\n",
       "      <td>834</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847925400</td>\n",
       "      <td>56.965</td>\n",
       "      <td>2143.080752</td>\n",
       "      <td>6452653.129</td>\n",
       "      <td>1871932.226</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>59.243921</td>\n",
       "      <td>-1.281405</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>565</th>\n",
       "      <td>1</td>\n",
       "      <td>835</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847925500</td>\n",
       "      <td>56.946</td>\n",
       "      <td>2149.025888</td>\n",
       "      <td>6452657.733</td>\n",
       "      <td>1871928.584</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>59.074359</td>\n",
       "      <td>-2.147319</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>566</th>\n",
       "      <td>1</td>\n",
       "      <td>836</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847925600</td>\n",
       "      <td>56.942</td>\n",
       "      <td>2154.922954</td>\n",
       "      <td>6452662.154</td>\n",
       "      <td>1871925.065</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>58.815231</td>\n",
       "      <td>-1.486558</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>567</th>\n",
       "      <td>1</td>\n",
       "      <td>837</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847925700</td>\n",
       "      <td>56.937</td>\n",
       "      <td>2160.789000</td>\n",
       "      <td>6452666.849</td>\n",
       "      <td>1871921.329</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>58.760000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>568</th>\n",
       "      <td>1</td>\n",
       "      <td>838</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847925800</td>\n",
       "      <td>56.932</td>\n",
       "      <td>2166.789000</td>\n",
       "      <td>6452671.544</td>\n",
       "      <td>1871917.593</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>3</td>\n",
       "      <td>58.760000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>16</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>569 rows × 18 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     Vehicle_ID  Frame_ID  Total_Frames    Global_Time  Local_X      Local_Y  \\\n",
       "0             1       270           569  1118847869000   51.164   112.878000   \n",
       "1             1       271           569  1118847869100   51.153   114.878000   \n",
       "2             1       272           569  1118847869200   51.143   116.853399   \n",
       "3             1       273           569  1118847869300   51.244   118.840344   \n",
       "4             1       274           569  1118847869400   51.234   120.838802   \n",
       "..          ...       ...           ...            ...      ...          ...   \n",
       "564           1       834           569  1118847925400   56.965  2143.080752   \n",
       "565           1       835           569  1118847925500   56.946  2149.025888   \n",
       "566           1       836           569  1118847925600   56.942  2154.922954   \n",
       "567           1       837           569  1118847925700   56.937  2160.789000   \n",
       "568           1       838           569  1118847925800   56.932  2166.789000   \n",
       "\n",
       "        Global_X     Global_Y  v_Length  v_Width  v_Class      v_Vel  \\\n",
       "0    6451136.708  1873294.084      47.0      8.5        3  19.890000   \n",
       "1    6451138.053  1873292.603      47.0      8.5        3  19.890000   \n",
       "2    6451139.397  1873291.122      47.0      8.5        3  19.890000   \n",
       "3    6451140.617  1873289.614      47.0      8.5        3  19.914792   \n",
       "4    6451141.961  1873288.133      47.0      8.5        3  19.843820   \n",
       "..           ...          ...       ...      ...      ...        ...   \n",
       "564  6452653.129  1871932.226      47.0      8.5        3  59.243921   \n",
       "565  6452657.733  1871928.584      47.0      8.5        3  59.074359   \n",
       "566  6452662.154  1871925.065      47.0      8.5        3  58.815231   \n",
       "567  6452666.849  1871921.329      47.0      8.5        3  58.760000   \n",
       "568  6452671.544  1871917.593      47.0      8.5        3  58.760000   \n",
       "\n",
       "        v_Acc  Lane_ID  Preceeding  Following  Space_Hdwy  Time_Hdwy  \n",
       "0    0.000000        5           0          0         0.0        0.0  \n",
       "1    0.000000        5           0          0         0.0        0.0  \n",
       "2    0.196990        5           0          0         0.0        0.0  \n",
       "3    0.246158        5           0          0         0.0        0.0  \n",
       "4   -0.927490        5           0          0         0.0        0.0  \n",
       "..        ...      ...         ...        ...         ...        ...  \n",
       "564 -1.281405        5           0         16         0.0        0.0  \n",
       "565 -2.147319        5           0         16         0.0        0.0  \n",
       "566 -1.486558        5           0         16         0.0        0.0  \n",
       "567  0.000000        5           0         16         0.0        0.0  \n",
       "568  0.000000        5           0         16         0.0        0.0  \n",
       "\n",
       "[569 rows x 18 columns]"
      ]
     },
     "execution_count": 54,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ff[ff['Vehicle_ID']==1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "id": "7d7065af-f367-49e4-9ce8-f7e38f31100c",
   "metadata": {},
   "outputs": [],
   "source": [
    "def choose_frame(arr):\n",
    "    #创建了两个空的 DataFrame，分别命名为 Pre 和 Fol，用于存储前车和后车的数据。这两个 DataFrame 包含了列名列表中所列出的所有列。\n",
    "    Pre = pd.DataFrame(columns=['Vehicle_ID','Frame_ID','Total_Frames','Global_Time','Local_X','Local_Y','Global_X','Global_Y','v_Length','v_Width','v_Class','v_Vel','v_Acc','Lane_ID','Preceding','Following','Space_Headway','Time_Headway'])\n",
    "    Fol = pd.DataFrame(columns=['Vehicle_ID','Frame_ID','Total_Frames','Global_Time','Local_X','Local_Y','Global_X','Global_Y','v_Length','v_Width','v_Class','v_Vel','v_Acc','Lane_ID','Preceding','Following','Space_Headway','Time_Headway'])\n",
    "    shape=np.shape(arr)                            #获取了数组 arr 的形状，即行数和列数。\n",
    "    for i in range(shape[0]):                      #遍历数组 arr 中的每一行\n",
    "        #根据数组中的元素值，在 DataFrame ff 中选择 'Vehicle_ID' 和 'Frame_ID' 匹配的行，并将结果存储到 DataFrame b 中。\n",
    "        #同时，为了后续合并数据，给 b 添加了一个名为 'Vehicle_ID1' 的新列，其值为 arr[i][0]。\n",
    "        a=ff[ff.Vehicle_ID.isin([arr[i][2]])]      #变道后前车的所有数据帧\n",
    "        b=a[a.Frame_ID.isin([arr[i][1]])]          #\n",
    "        b['Vehicle_ID1']=arr[i][0]\n",
    "        #同样地，根据数组中的元素值，在 DataFrame ff 中选择 'Vehicle_ID' 和 'Frame_ID' 匹配的行，并将结果存储到 DataFrame d 中。\n",
    "        #也为了后续合并数据，给 d 添加了一个名为 'Vehicle_ID1' 的新列，其值为 arr[i][0]。\n",
    "        c=ff[ff.Vehicle_ID.isin([arr[i][3]])]      #变道后后车\n",
    "        d=c[c.Frame_ID.isin([arr[i][1]])]\n",
    "        d['Vehicle_ID1']=arr[i][0]\n",
    "        #将新选择的前车和后车数据合并到 Pre 和 Fol DataFrame 中，使用了 Pandas 的 concat() 函数。\n",
    "        #设置了 ignore_index=True，表示忽略合并后的结果的原始索引，重新生成一个新的连续整数索引。\n",
    "        Pre=pd.concat([Pre,b], ignore_index=True)\n",
    "        Fol=pd.concat([Fol,d], ignore_index=True)\n",
    "    return Pre,Fol      #返回了合并后的前车数据 DataFrame Pre 和后车数据 DataFrame Fol"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "id": "15efc152-dc9a-450f-8690-49a718be0ab7",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:19: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.\n",
      "  Pre=pd.concat([Pre,b], ignore_index=True)\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:20: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.\n",
      "  Fol=pd.concat([Fol,d], ignore_index=True)\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:11: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  b['Vehicle_ID1']=arr[i][0]\n",
      "C:\\Users\\dell\\AppData\\Local\\Temp\\ipykernel_34604\\762991316.py:16: SettingWithCopyWarning: \n",
      "A value is trying to be set on a copy of a slice from a DataFrame.\n",
      "Try using .loc[row_indexer,col_indexer] = value instead\n",
      "\n",
      "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
      "  d['Vehicle_ID1']=arr[i][0]\n"
     ]
    }
   ],
   "source": [
    "Pre1,Fol1=choose_frame(f4) #这行代码调用了之前定义的 choose_frame 函数，并将返回的前车数据 DataFrame 存储在 Pre1 中，后车数据 DataFrame 存储在 Fol1 中。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "id": "0aa3e1cf-b15a-4681-89d2-6b7bd6326015",
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Headway</th>\n",
       "      <th>Time_Headway</th>\n",
       "      <th>Preceeding</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>Vehicle_ID1</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>537</td>\n",
       "      <td>569</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>6451654.692</td>\n",
       "      <td>1872801.776</td>\n",
       "      <td>47.0</td>\n",
       "      <td>8.5</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.606468</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>7</td>\n",
       "      <td>831</td>\n",
       "      <td>642</td>\n",
       "      <td>1118847925100</td>\n",
       "      <td>30.027</td>\n",
       "      <td>1896.003725</td>\n",
       "      <td>6452477.545</td>\n",
       "      <td>1872113.216</td>\n",
       "      <td>19.5</td>\n",
       "      <td>8.5</td>\n",
       "      <td>...</td>\n",
       "      <td>1.884567</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>3.0</td>\n",
       "      <td>85.71</td>\n",
       "      <td>1.56</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>14</td>\n",
       "      <td>860</td>\n",
       "      <td>629</td>\n",
       "      <td>1118847928000</td>\n",
       "      <td>41.984</td>\n",
       "      <td>1927.355998</td>\n",
       "      <td>6452494.970</td>\n",
       "      <td>1872082.174</td>\n",
       "      <td>18.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.541836</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>10.0</td>\n",
       "      <td>56.49</td>\n",
       "      <td>0.96</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>25</td>\n",
       "      <td>913</td>\n",
       "      <td>546</td>\n",
       "      <td>1118847933300</td>\n",
       "      <td>54.286</td>\n",
       "      <td>2071.448125</td>\n",
       "      <td>6452598.391</td>\n",
       "      <td>1871979.646</td>\n",
       "      <td>14.0</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.346266</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>31</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.00</td>\n",
       "      <td>0.00</td>\n",
       "      <td>31.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>36</td>\n",
       "      <td>755</td>\n",
       "      <td>384</td>\n",
       "      <td>1118847917500</td>\n",
       "      <td>55.838</td>\n",
       "      <td>1040.876405</td>\n",
       "      <td>6451819.647</td>\n",
       "      <td>1872653.677</td>\n",
       "      <td>16.0</td>\n",
       "      <td>7.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.258198</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>37</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>31.0</td>\n",
       "      <td>61.69</td>\n",
       "      <td>1.71</td>\n",
       "      <td>37.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>1856</td>\n",
       "      <td>6771</td>\n",
       "      <td>1085</td>\n",
       "      <td>1118848519100</td>\n",
       "      <td>4.845</td>\n",
       "      <td>268.030326</td>\n",
       "      <td>6451275.962</td>\n",
       "      <td>1873213.093</td>\n",
       "      <td>23.5</td>\n",
       "      <td>8.4</td>\n",
       "      <td>...</td>\n",
       "      <td>2.980138</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1835</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1842.0</td>\n",
       "      <td>99.77</td>\n",
       "      <td>4.05</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>1829</td>\n",
       "      <td>7529</td>\n",
       "      <td>989</td>\n",
       "      <td>1118848594900</td>\n",
       "      <td>19.827</td>\n",
       "      <td>1658.739626</td>\n",
       "      <td>6452305.071</td>\n",
       "      <td>1872277.538</td>\n",
       "      <td>13.5</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>3.089639</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1835</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1863.0</td>\n",
       "      <td>62.77</td>\n",
       "      <td>2.00</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1856</td>\n",
       "      <td>7281</td>\n",
       "      <td>1085</td>\n",
       "      <td>1118848570100</td>\n",
       "      <td>8.683</td>\n",
       "      <td>1225.671187</td>\n",
       "      <td>6451988.308</td>\n",
       "      <td>1872569.200</td>\n",
       "      <td>23.5</td>\n",
       "      <td>8.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.466514</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1863</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1842.0</td>\n",
       "      <td>86.22</td>\n",
       "      <td>5.77</td>\n",
       "      <td>1863.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>1864</td>\n",
       "      <td>7677</td>\n",
       "      <td>959</td>\n",
       "      <td>1118848609700</td>\n",
       "      <td>19.891</td>\n",
       "      <td>1987.761863</td>\n",
       "      <td>6452555.393</td>\n",
       "      <td>1872059.831</td>\n",
       "      <td>15.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.164134</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1873</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1849.0</td>\n",
       "      <td>112.35</td>\n",
       "      <td>2.35</td>\n",
       "      <td>1873.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>1891</td>\n",
       "      <td>7817</td>\n",
       "      <td>928</td>\n",
       "      <td>1118848623700</td>\n",
       "      <td>42.353</td>\n",
       "      <td>2007.067894</td>\n",
       "      <td>6452555.884</td>\n",
       "      <td>1872029.961</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.549183</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1906</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1885.0</td>\n",
       "      <td>79.92</td>\n",
       "      <td>1.87</td>\n",
       "      <td>1906.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>324 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Vehicle_ID Frame_ID Total_Frames    Global_Time  Local_X      Local_Y  \\\n",
       "0            1      537          569  1118847895700   53.039   820.612922   \n",
       "1            7      831          642  1118847925100   30.027  1896.003725   \n",
       "2           14      860          629  1118847928000   41.984  1927.355998   \n",
       "3           25      913          546  1118847933300   54.286  2071.448125   \n",
       "4           36      755          384  1118847917500   55.838  1040.876405   \n",
       "..         ...      ...          ...            ...      ...          ...   \n",
       "319       1856     6771         1085  1118848519100    4.845   268.030326   \n",
       "320       1829     7529          989  1118848594900   19.827  1658.739626   \n",
       "321       1856     7281         1085  1118848570100    8.683  1225.671187   \n",
       "322       1864     7677          959  1118848609700   19.891  1987.761863   \n",
       "323       1891     7817          928  1118848623700   42.353  2007.067894   \n",
       "\n",
       "        Global_X     Global_Y  v_Length  v_Width  ...     v_Acc  Lane_ID  \\\n",
       "0    6451654.692  1872801.776      47.0      8.5  ... -1.606468        5   \n",
       "1    6452477.545  1872113.216      19.5      8.5  ...  1.884567        3   \n",
       "2    6452494.970  1872082.174      18.0      7.4  ... -0.541836        4   \n",
       "3    6452598.391  1871979.646      14.0      5.9  ... -0.346266        5   \n",
       "4    6451819.647  1872653.677      16.0      7.9  ... -1.258198        5   \n",
       "..           ...          ...       ...      ...  ...       ...      ...   \n",
       "319  6451275.962  1873213.093      23.5      8.4  ...  2.980138        1   \n",
       "320  6452305.071  1872277.538      13.5      6.4  ...  3.089639        2   \n",
       "321  6451988.308  1872569.200      23.5      8.4  ... -0.466514        1   \n",
       "322  6452555.393  1872059.831      15.5      5.9  ... -0.164134        2   \n",
       "323  6452555.884  1872029.961      13.5      5.4  ... -0.549183        4   \n",
       "\n",
       "     Preceding Following Space_Headway Time_Headway Preceeding Space_Hdwy  \\\n",
       "0          NaN         6           NaN          NaN        0.0       0.00   \n",
       "1          NaN        11           NaN          NaN        3.0      85.71   \n",
       "2          NaN        20           NaN          NaN       10.0      56.49   \n",
       "3          NaN        31           NaN          NaN        0.0       0.00   \n",
       "4          NaN        37           NaN          NaN       31.0      61.69   \n",
       "..         ...       ...           ...          ...        ...        ...   \n",
       "319        NaN      1835           NaN          NaN     1842.0      99.77   \n",
       "320        NaN      1835           NaN          NaN     1863.0      62.77   \n",
       "321        NaN      1863           NaN          NaN     1842.0      86.22   \n",
       "322        NaN      1873           NaN          NaN     1849.0     112.35   \n",
       "323        NaN      1906           NaN          NaN     1885.0      79.92   \n",
       "\n",
       "     Time_Hdwy  Vehicle_ID1  \n",
       "0         0.00          6.0  \n",
       "1         1.56         11.0  \n",
       "2         0.96         20.0  \n",
       "3         0.00         31.0  \n",
       "4         1.71         37.0  \n",
       "..         ...          ...  \n",
       "319       4.05       1835.0  \n",
       "320       2.00       1835.0  \n",
       "321       5.77       1863.0  \n",
       "322       2.35       1873.0  \n",
       "323       1.87       1906.0  \n",
       "\n",
       "[324 rows x 22 columns]"
      ]
     },
     "execution_count": 69,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Pre1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "id": "da6a823a-d727-46c8-a8d2-179f8a3c503f",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>v_Acc</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Following</th>\n",
       "      <th>Space_Headway</th>\n",
       "      <th>Time_Headway</th>\n",
       "      <th>Preceeding</th>\n",
       "      <th>Space_Hdwy</th>\n",
       "      <th>Time_Hdwy</th>\n",
       "      <th>Vehicle_ID1</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>16</td>\n",
       "      <td>537</td>\n",
       "      <td>552</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>52.996</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>6451492.158</td>\n",
       "      <td>1872945.360</td>\n",
       "      <td>15.5</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.177793</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6.0</td>\n",
       "      <td>133.98</td>\n",
       "      <td>3.79</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>15</td>\n",
       "      <td>831</td>\n",
       "      <td>630</td>\n",
       "      <td>1118847925100</td>\n",
       "      <td>29.852</td>\n",
       "      <td>1727.611741</td>\n",
       "      <td>6452351.392</td>\n",
       "      <td>1872223.376</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.813498</td>\n",
       "      <td>3</td>\n",
       "      <td>NaN</td>\n",
       "      <td>19</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>11.0</td>\n",
       "      <td>98.38</td>\n",
       "      <td>1.97</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>26</td>\n",
       "      <td>860</td>\n",
       "      <td>604</td>\n",
       "      <td>1118847928000</td>\n",
       "      <td>41.928</td>\n",
       "      <td>1722.568652</td>\n",
       "      <td>6452339.750</td>\n",
       "      <td>1872217.591</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.086573</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>34</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20.0</td>\n",
       "      <td>112.42</td>\n",
       "      <td>2.25</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>36</td>\n",
       "      <td>913</td>\n",
       "      <td>384</td>\n",
       "      <td>1118847933300</td>\n",
       "      <td>53.107</td>\n",
       "      <td>1780.094281</td>\n",
       "      <td>6452376.600</td>\n",
       "      <td>1872170.043</td>\n",
       "      <td>16.0</td>\n",
       "      <td>7.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.832755</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>43</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>31.0</td>\n",
       "      <td>164.73</td>\n",
       "      <td>3.00</td>\n",
       "      <td>31.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>43</td>\n",
       "      <td>755</td>\n",
       "      <td>516</td>\n",
       "      <td>1118847917500</td>\n",
       "      <td>50.919</td>\n",
       "      <td>917.510735</td>\n",
       "      <td>6451727.127</td>\n",
       "      <td>1872740.881</td>\n",
       "      <td>15.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>1.862529</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>37.0</td>\n",
       "      <td>87.70</td>\n",
       "      <td>2.51</td>\n",
       "      <td>37.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>310</th>\n",
       "      <td>1863</td>\n",
       "      <td>6771</td>\n",
       "      <td>988</td>\n",
       "      <td>1118848519100</td>\n",
       "      <td>7.195</td>\n",
       "      <td>175.855879</td>\n",
       "      <td>6451210.948</td>\n",
       "      <td>1873278.320</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>2.805084</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1870</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1835.0</td>\n",
       "      <td>43.50</td>\n",
       "      <td>2.18</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>311</th>\n",
       "      <td>1849</td>\n",
       "      <td>7529</td>\n",
       "      <td>983</td>\n",
       "      <td>1118848594900</td>\n",
       "      <td>19.376</td>\n",
       "      <td>1500.142746</td>\n",
       "      <td>6452186.592</td>\n",
       "      <td>1872381.683</td>\n",
       "      <td>15.5</td>\n",
       "      <td>4.4</td>\n",
       "      <td>...</td>\n",
       "      <td>2.238235</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1864</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1835.0</td>\n",
       "      <td>106.47</td>\n",
       "      <td>3.56</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>1870</td>\n",
       "      <td>7281</td>\n",
       "      <td>1010</td>\n",
       "      <td>1118848570100</td>\n",
       "      <td>7.825</td>\n",
       "      <td>1122.005307</td>\n",
       "      <td>6451908.995</td>\n",
       "      <td>1872639.519</td>\n",
       "      <td>15.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>2.752571</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1880</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1863.0</td>\n",
       "      <td>57.04</td>\n",
       "      <td>3.78</td>\n",
       "      <td>1863.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>1881</td>\n",
       "      <td>7677</td>\n",
       "      <td>943</td>\n",
       "      <td>1118848609700</td>\n",
       "      <td>18.858</td>\n",
       "      <td>1834.725688</td>\n",
       "      <td>6452439.603</td>\n",
       "      <td>1872161.047</td>\n",
       "      <td>15.0</td>\n",
       "      <td>4.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.854516</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1889</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1873.0</td>\n",
       "      <td>104.94</td>\n",
       "      <td>2.30</td>\n",
       "      <td>1873.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>1907</td>\n",
       "      <td>7817</td>\n",
       "      <td>912</td>\n",
       "      <td>1118848623700</td>\n",
       "      <td>42.086</td>\n",
       "      <td>1829.263993</td>\n",
       "      <td>6452420.229</td>\n",
       "      <td>1872147.072</td>\n",
       "      <td>16.5</td>\n",
       "      <td>5.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.706072</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1925</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1906.0</td>\n",
       "      <td>66.24</td>\n",
       "      <td>1.47</td>\n",
       "      <td>1906.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>315 rows × 22 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Vehicle_ID Frame_ID Total_Frames    Global_Time  Local_X      Local_Y  \\\n",
       "0           16      537          552  1118847895700   52.996   605.304046   \n",
       "1           15      831          630  1118847925100   29.852  1727.611741   \n",
       "2           26      860          604  1118847928000   41.928  1722.568652   \n",
       "3           36      913          384  1118847933300   53.107  1780.094281   \n",
       "4           43      755          516  1118847917500   50.919   917.510735   \n",
       "..         ...      ...          ...            ...      ...          ...   \n",
       "310       1863     6771          988  1118848519100    7.195   175.855879   \n",
       "311       1849     7529          983  1118848594900   19.376  1500.142746   \n",
       "312       1870     7281         1010  1118848570100    7.825  1122.005307   \n",
       "313       1881     7677          943  1118848609700   18.858  1834.725688   \n",
       "314       1907     7817          912  1118848623700   42.086  1829.263993   \n",
       "\n",
       "        Global_X     Global_Y  v_Length  v_Width  ...     v_Acc  Lane_ID  \\\n",
       "0    6451492.158  1872945.360      15.5      6.4  ... -0.177793        5   \n",
       "1    6452351.392  1872223.376      14.0      6.4  ...  0.813498        3   \n",
       "2    6452339.750  1872217.591      14.0      6.4  ...  0.086573        4   \n",
       "3    6452376.600  1872170.043      16.0      7.9  ... -0.832755        5   \n",
       "4    6451727.127  1872740.881      15.0      6.9  ...  1.862529        5   \n",
       "..           ...          ...       ...      ...  ...       ...      ...   \n",
       "310  6451210.948  1873278.320      14.0      6.9  ...  2.805084        1   \n",
       "311  6452186.592  1872381.683      15.5      4.4  ...  2.238235        2   \n",
       "312  6451908.995  1872639.519      15.5      5.9  ...  2.752571        1   \n",
       "313  6452439.603  1872161.047      15.0      4.9  ...  0.854516        2   \n",
       "314  6452420.229  1872147.072      16.5      5.4  ...  0.706072        4   \n",
       "\n",
       "     Preceding Following Space_Headway Time_Headway Preceeding Space_Hdwy  \\\n",
       "0          NaN        21           NaN          NaN        6.0     133.98   \n",
       "1          NaN        19           NaN          NaN       11.0      98.38   \n",
       "2          NaN        34           NaN          NaN       20.0     112.42   \n",
       "3          NaN        43           NaN          NaN       31.0     164.73   \n",
       "4          NaN        48           NaN          NaN       37.0      87.70   \n",
       "..         ...       ...           ...          ...        ...        ...   \n",
       "310        NaN      1870           NaN          NaN     1835.0      43.50   \n",
       "311        NaN      1864           NaN          NaN     1835.0     106.47   \n",
       "312        NaN      1880           NaN          NaN     1863.0      57.04   \n",
       "313        NaN      1889           NaN          NaN     1873.0     104.94   \n",
       "314        NaN      1925           NaN          NaN     1906.0      66.24   \n",
       "\n",
       "     Time_Hdwy  Vehicle_ID1  \n",
       "0         3.79          6.0  \n",
       "1         1.97         11.0  \n",
       "2         2.25         20.0  \n",
       "3         3.00         31.0  \n",
       "4         2.51         37.0  \n",
       "..         ...          ...  \n",
       "310       2.18       1835.0  \n",
       "311       3.56       1835.0  \n",
       "312       3.78       1863.0  \n",
       "313       2.30       1873.0  \n",
       "314       1.47       1906.0  \n",
       "\n",
       "[315 rows x 22 columns]"
      ]
     },
     "execution_count": 70,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Fol1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "id": "c2e05594-97f9-483d-81af-6d4d7bde1227",
   "metadata": {},
   "outputs": [],
   "source": [
    "Fol1.Vehicle_ID1=Fol1.Vehicle_ID1.astype('object') #将 DataFrame Fol1 中的 'Vehicle_ID1' 列的数据类型转换为对象类型，使用 astype('object') 方法。\n",
    "Pre1.Vehicle_ID1=Pre1.Vehicle_ID1.astype('object') #同样地，将 DataFrame Pre1 中的 'Vehicle_ID1' 列的数据类型转换为对象类型。\n",
    "#这样做的目的可能是因为 'Vehicle_ID1' 列的值不仅仅是整数，可能还包含了其他类型的数据，比如字符串等。将其转换为对象类型可以更灵活地处理不同类型的数据。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 72,
   "id": "b3ae8303-ec46-4504-a6dd-9ecb4f36779e",
   "metadata": {},
   "outputs": [],
   "source": [
    "Pre1=Pre1[['Vehicle_ID','Frame_ID','Local_X','Local_Y','v_Vel','Vehicle_ID1']]\n",
    "Fol1=Fol1[['Vehicle_ID','Frame_ID','Local_X','Local_Y','v_Vel','Vehicle_ID1']]\n",
    "Pre1.columns=['Preceding','Frame_ID','Pre1_Local_X','Pre1_Local_Y','Pre1_v_Vel','Vehicle_ID']\n",
    "Fol1.columns=['Following','Frame_ID','Fol1_Local_X','Fol1_Local_Y','Fol1_v_Vel','Vehicle_ID']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 73,
   "id": "c42ee1cf-f441-41fb-9944-a0bfe2056461",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Preceding</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Pre1_Local_X</th>\n",
       "      <th>Pre1_Local_Y</th>\n",
       "      <th>Pre1_v_Vel</th>\n",
       "      <th>Vehicle_ID</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>537</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>7</td>\n",
       "      <td>831</td>\n",
       "      <td>30.027</td>\n",
       "      <td>1896.003725</td>\n",
       "      <td>53.244111</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>14</td>\n",
       "      <td>860</td>\n",
       "      <td>41.984</td>\n",
       "      <td>1927.355998</td>\n",
       "      <td>55.413426</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>25</td>\n",
       "      <td>913</td>\n",
       "      <td>54.286</td>\n",
       "      <td>2071.448125</td>\n",
       "      <td>54.725989</td>\n",
       "      <td>31.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>36</td>\n",
       "      <td>755</td>\n",
       "      <td>55.838</td>\n",
       "      <td>1040.876405</td>\n",
       "      <td>35.556271</td>\n",
       "      <td>37.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>319</th>\n",
       "      <td>1856</td>\n",
       "      <td>6771</td>\n",
       "      <td>4.845</td>\n",
       "      <td>268.030326</td>\n",
       "      <td>23.608689</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>320</th>\n",
       "      <td>1829</td>\n",
       "      <td>7529</td>\n",
       "      <td>19.827</td>\n",
       "      <td>1658.739626</td>\n",
       "      <td>32.104783</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>321</th>\n",
       "      <td>1856</td>\n",
       "      <td>7281</td>\n",
       "      <td>8.683</td>\n",
       "      <td>1225.671187</td>\n",
       "      <td>15.423288</td>\n",
       "      <td>1863.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>322</th>\n",
       "      <td>1864</td>\n",
       "      <td>7677</td>\n",
       "      <td>19.891</td>\n",
       "      <td>1987.761863</td>\n",
       "      <td>46.798828</td>\n",
       "      <td>1873.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>323</th>\n",
       "      <td>1891</td>\n",
       "      <td>7817</td>\n",
       "      <td>42.353</td>\n",
       "      <td>2007.067894</td>\n",
       "      <td>42.236096</td>\n",
       "      <td>1906.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>324 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Preceding Frame_ID  Pre1_Local_X  Pre1_Local_Y  Pre1_v_Vel Vehicle_ID\n",
       "0           1      537        53.039    820.612922   26.128386        6.0\n",
       "1           7      831        30.027   1896.003725   53.244111       11.0\n",
       "2          14      860        41.984   1927.355998   55.413426       20.0\n",
       "3          25      913        54.286   2071.448125   54.725989       31.0\n",
       "4          36      755        55.838   1040.876405   35.556271       37.0\n",
       "..        ...      ...           ...           ...         ...        ...\n",
       "319      1856     6771         4.845    268.030326   23.608689     1835.0\n",
       "320      1829     7529        19.827   1658.739626   32.104783     1835.0\n",
       "321      1856     7281         8.683   1225.671187   15.423288     1863.0\n",
       "322      1864     7677        19.891   1987.761863   46.798828     1873.0\n",
       "323      1891     7817        42.353   2007.067894   42.236096     1906.0\n",
       "\n",
       "[324 rows x 6 columns]"
      ]
     },
     "execution_count": 73,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Pre1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 74,
   "id": "feb8fd5f-4660-4297-8b5e-569f4127761b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Following</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Fol1_Local_X</th>\n",
       "      <th>Fol1_Local_Y</th>\n",
       "      <th>Fol1_v_Vel</th>\n",
       "      <th>Vehicle_ID</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>16</td>\n",
       "      <td>537</td>\n",
       "      <td>52.996</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>35.416533</td>\n",
       "      <td>6.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>15</td>\n",
       "      <td>831</td>\n",
       "      <td>29.852</td>\n",
       "      <td>1727.611741</td>\n",
       "      <td>50.007670</td>\n",
       "      <td>11.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>26</td>\n",
       "      <td>860</td>\n",
       "      <td>41.928</td>\n",
       "      <td>1722.568652</td>\n",
       "      <td>49.974699</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>36</td>\n",
       "      <td>913</td>\n",
       "      <td>53.107</td>\n",
       "      <td>1780.094281</td>\n",
       "      <td>53.525936</td>\n",
       "      <td>31.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>43</td>\n",
       "      <td>755</td>\n",
       "      <td>50.919</td>\n",
       "      <td>917.510735</td>\n",
       "      <td>35.690730</td>\n",
       "      <td>37.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>310</th>\n",
       "      <td>1863</td>\n",
       "      <td>6771</td>\n",
       "      <td>7.195</td>\n",
       "      <td>175.855879</td>\n",
       "      <td>20.529731</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>311</th>\n",
       "      <td>1849</td>\n",
       "      <td>7529</td>\n",
       "      <td>19.376</td>\n",
       "      <td>1500.142746</td>\n",
       "      <td>28.266653</td>\n",
       "      <td>1835.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>312</th>\n",
       "      <td>1870</td>\n",
       "      <td>7281</td>\n",
       "      <td>7.825</td>\n",
       "      <td>1122.005307</td>\n",
       "      <td>16.378570</td>\n",
       "      <td>1863.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>313</th>\n",
       "      <td>1881</td>\n",
       "      <td>7677</td>\n",
       "      <td>18.858</td>\n",
       "      <td>1834.725688</td>\n",
       "      <td>45.469091</td>\n",
       "      <td>1873.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>314</th>\n",
       "      <td>1907</td>\n",
       "      <td>7817</td>\n",
       "      <td>42.086</td>\n",
       "      <td>1829.263993</td>\n",
       "      <td>45.574293</td>\n",
       "      <td>1906.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>315 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Following Frame_ID  Fol1_Local_X  Fol1_Local_Y  Fol1_v_Vel Vehicle_ID\n",
       "0          16      537        52.996    605.304046   35.416533        6.0\n",
       "1          15      831        29.852   1727.611741   50.007670       11.0\n",
       "2          26      860        41.928   1722.568652   49.974699       20.0\n",
       "3          36      913        53.107   1780.094281   53.525936       31.0\n",
       "4          43      755        50.919    917.510735   35.690730       37.0\n",
       "..        ...      ...           ...           ...         ...        ...\n",
       "310      1863     6771         7.195    175.855879   20.529731     1835.0\n",
       "311      1849     7529        19.376   1500.142746   28.266653     1835.0\n",
       "312      1870     7281         7.825   1122.005307   16.378570     1863.0\n",
       "313      1881     7677        18.858   1834.725688   45.469091     1873.0\n",
       "314      1907     7817        42.086   1829.263993   45.574293     1906.0\n",
       "\n",
       "[315 rows x 6 columns]"
      ]
     },
     "execution_count": 74,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Fol1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 75,
   "id": "62e9352f-0667-41d6-8e59-3df63fc495c3",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "      <th>aim_lane</th>\n",
       "      <th>Pre1_Local_X</th>\n",
       "      <th>Pre1_Local_Y</th>\n",
       "      <th>Pre1_v_Vel</th>\n",
       "      <th>Fol1_Local_X</th>\n",
       "      <th>Fol1_Local_Y</th>\n",
       "      <th>Fol1_v_Vel</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "      <td>4</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>52.996</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>35.416533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>6</td>\n",
       "      <td>538</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895800</td>\n",
       "      <td>51.259</td>\n",
       "      <td>741.069808</td>\n",
       "      <td>6451596.178</td>\n",
       "      <td>1872855.518</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.68</td>\n",
       "      <td>2.910523</td>\n",
       "      <td>29.105229</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>6</td>\n",
       "      <td>539</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895900</td>\n",
       "      <td>51.185</td>\n",
       "      <td>743.963695</td>\n",
       "      <td>6451598.5</td>\n",
       "      <td>1872853.578</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.74</td>\n",
       "      <td>2.893887</td>\n",
       "      <td>28.938867</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>6</td>\n",
       "      <td>540</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896000</td>\n",
       "      <td>51.156</td>\n",
       "      <td>746.840082</td>\n",
       "      <td>6451600.74</td>\n",
       "      <td>1872851.65</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.29</td>\n",
       "      <td>2.876387</td>\n",
       "      <td>28.763871</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>6</td>\n",
       "      <td>541</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847896100</td>\n",
       "      <td>51.132</td>\n",
       "      <td>749.698492</td>\n",
       "      <td>6451602.894</td>\n",
       "      <td>1872849.79</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.24</td>\n",
       "      <td>2.85841</td>\n",
       "      <td>28.584104</td>\n",
       "      <td>4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13275</th>\n",
       "      <td>1906</td>\n",
       "      <td>7852</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627200</td>\n",
       "      <td>45.67</td>\n",
       "      <td>2034.419128</td>\n",
       "      <td>6452574.737</td>\n",
       "      <td>1872010.049</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>4.56</td>\n",
       "      <td>3.916751</td>\n",
       "      <td>39.167513</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13276</th>\n",
       "      <td>1906</td>\n",
       "      <td>7853</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627300</td>\n",
       "      <td>45.939</td>\n",
       "      <td>2038.340383</td>\n",
       "      <td>6452577.678</td>\n",
       "      <td>1872007.304</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>2.69</td>\n",
       "      <td>3.921255</td>\n",
       "      <td>39.212552</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13277</th>\n",
       "      <td>1906</td>\n",
       "      <td>7854</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627400</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2042.265192</td>\n",
       "      <td>6452580.673</td>\n",
       "      <td>1872004.699</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>1.26</td>\n",
       "      <td>3.924809</td>\n",
       "      <td>39.248094</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13278</th>\n",
       "      <td>1906</td>\n",
       "      <td>7855</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627500</td>\n",
       "      <td>46.065</td>\n",
       "      <td>2046.193052</td>\n",
       "      <td>6452583.776</td>\n",
       "      <td>1872002.169</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>3.927859</td>\n",
       "      <td>39.278592</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13279</th>\n",
       "      <td>1906</td>\n",
       "      <td>7856</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848627600</td>\n",
       "      <td>46.163</td>\n",
       "      <td>2050.120197</td>\n",
       "      <td>6452586.772</td>\n",
       "      <td>1871999.6</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.98</td>\n",
       "      <td>3.927146</td>\n",
       "      <td>39.271455</td>\n",
       "      <td>5</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>13280 rows × 29 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0              6      537          577  1118847895700  51.327   738.159285   \n",
       "1              6      538          577  1118847895800  51.259   741.069808   \n",
       "2              6      539          577  1118847895900  51.185   743.963695   \n",
       "3              6      540          577  1118847896000  51.156   746.840082   \n",
       "4              6      541          577  1118847896100  51.132   749.698492   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13275       1906     7852          924  1118848627200   45.67  2034.419128   \n",
       "13276       1906     7853          924  1118848627300  45.939  2038.340383   \n",
       "13277       1906     7854          924  1118848627400  46.065  2042.265192   \n",
       "13278       1906     7855          924  1118848627500  46.065  2046.193052   \n",
       "13279       1906     7856          924  1118848627600  46.163  2050.120197   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ...   x_a         y  \\\n",
       "0      6451593.879  1872857.446     15.5     7.4  ... -0.69  2.926326   \n",
       "1      6451596.178  1872855.518     15.5     7.4  ... -0.68  2.910523   \n",
       "2        6451598.5  1872853.578     15.5     7.4  ... -0.74  2.893887   \n",
       "3       6451600.74   1872851.65     15.5     7.4  ... -0.29  2.876387   \n",
       "4      6451602.894   1872849.79     15.5     7.4  ... -0.24   2.85841   \n",
       "...            ...          ...      ...     ...  ...   ...       ...   \n",
       "13275  6452574.737  1872010.049     12.5     5.0  ...  4.56  3.916751   \n",
       "13276  6452577.678  1872007.304     12.5     5.0  ...  2.69  3.921255   \n",
       "13277  6452580.673  1872004.699     12.5     5.0  ...  1.26  3.924809   \n",
       "13278  6452583.776  1872002.169     12.5     5.0  ...   0.0  3.927859   \n",
       "13279  6452586.772    1871999.6     12.5     5.0  ...  0.98  3.927146   \n",
       "\n",
       "             y_v aim_lane Pre1_Local_X Pre1_Local_Y Pre1_v_Vel Fol1_Local_X  \\\n",
       "0       29.26326        4       53.039   820.612922  26.128386       52.996   \n",
       "1      29.105229        4          NaN          NaN        NaN          NaN   \n",
       "2      28.938867        4          NaN          NaN        NaN          NaN   \n",
       "3      28.763871        4          NaN          NaN        NaN          NaN   \n",
       "4      28.584104        4          NaN          NaN        NaN          NaN   \n",
       "...          ...      ...          ...          ...        ...          ...   \n",
       "13275  39.167513        5          NaN          NaN        NaN          NaN   \n",
       "13276  39.212552        5          NaN          NaN        NaN          NaN   \n",
       "13277  39.248094        5          NaN          NaN        NaN          NaN   \n",
       "13278  39.278592        5          NaN          NaN        NaN          NaN   \n",
       "13279  39.271455        5          NaN          NaN        NaN          NaN   \n",
       "\n",
       "      Fol1_Local_Y Fol1_v_Vel  \n",
       "0       605.304046  35.416533  \n",
       "1              NaN        NaN  \n",
       "2              NaN        NaN  \n",
       "3              NaN        NaN  \n",
       "4              NaN        NaN  \n",
       "...            ...        ...  \n",
       "13275          NaN        NaN  \n",
       "13276          NaN        NaN  \n",
       "13277          NaN        NaN  \n",
       "13278          NaN        NaN  \n",
       "13279          NaN        NaN  \n",
       "\n",
       "[13280 rows x 29 columns]"
      ]
     },
     "execution_count": 75,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd1=pd.merge(df_new,Pre1, how='left', on=['Frame_ID','Preceding','Vehicle_ID']) #使用 merge() 函数将 DataFrame df_new 与 Pre1 按照 'Frame_ID'、'Preceding' 和 'Vehicle_ID' 列进行左连接合并，并将结果存储到 pd1 中。\n",
    "pd2=pd.merge(pd1,Fol1, how='left', on=['Frame_ID','Following','Vehicle_ID']) #将 DataFrame pd1 与 Fol1 按照 'Frame_ID'、'Following' 和 'Vehicle_ID' 列进行左连接合并，并将结果存储到 pd2 中。\n",
    "pd3=pd2.dropna(axis=0,how='any')  #使用 dropna() 函数删除 DataFrame pd2 中包含任何空值的行，并将结果存储到 pd3 中。\n",
    "# pd3\n",
    "# pd2.to_csv(\"/home/mt/learn/NGSIM数据处理/csv/80/单帧提取/zhixing2.csv\")\n",
    "pd2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 76,
   "id": "06404429-15e0-40d0-82e2-3c56fdac6a95",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "      <th>aim_lane</th>\n",
       "      <th>Pre1_Local_X</th>\n",
       "      <th>Pre1_Local_Y</th>\n",
       "      <th>Pre1_v_Vel</th>\n",
       "      <th>Fol1_Local_X</th>\n",
       "      <th>Fol1_Local_Y</th>\n",
       "      <th>Fol1_v_Vel</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "      <td>4</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>52.996</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>35.416533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>654</td>\n",
       "      <td>1118847925100</td>\n",
       "      <td>31.073</td>\n",
       "      <td>1826.355878</td>\n",
       "      <td>6452425.171</td>\n",
       "      <td>1872157.346</td>\n",
       "      <td>17.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.24</td>\n",
       "      <td>5.061758</td>\n",
       "      <td>50.617583</td>\n",
       "      <td>4</td>\n",
       "      <td>30.027</td>\n",
       "      <td>1896.003725</td>\n",
       "      <td>53.244111</td>\n",
       "      <td>29.852</td>\n",
       "      <td>1727.611741</td>\n",
       "      <td>50.007670</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>636</td>\n",
       "      <td>1118847928000</td>\n",
       "      <td>43.052</td>\n",
       "      <td>1837.061104</td>\n",
       "      <td>6452424.266</td>\n",
       "      <td>1872142.327</td>\n",
       "      <td>15.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.73</td>\n",
       "      <td>5.25015</td>\n",
       "      <td>52.5015</td>\n",
       "      <td>5</td>\n",
       "      <td>41.984</td>\n",
       "      <td>1927.355998</td>\n",
       "      <td>55.413426</td>\n",
       "      <td>41.928</td>\n",
       "      <td>1722.568652</td>\n",
       "      <td>49.974699</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>550</td>\n",
       "      <td>1118847933300</td>\n",
       "      <td>52.94</td>\n",
       "      <td>1943.164916</td>\n",
       "      <td>6452501.58</td>\n",
       "      <td>1872062.137</td>\n",
       "      <td>13.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.98</td>\n",
       "      <td>5.736216</td>\n",
       "      <td>57.362159</td>\n",
       "      <td>4</td>\n",
       "      <td>54.286</td>\n",
       "      <td>2071.448125</td>\n",
       "      <td>54.725989</td>\n",
       "      <td>53.107</td>\n",
       "      <td>1780.094281</td>\n",
       "      <td>53.525936</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>559</td>\n",
       "      <td>1118847917500</td>\n",
       "      <td>52.214</td>\n",
       "      <td>1004.286604</td>\n",
       "      <td>6451792.563</td>\n",
       "      <td>1872682.032</td>\n",
       "      <td>18.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.37</td>\n",
       "      <td>4.005073</td>\n",
       "      <td>40.050728</td>\n",
       "      <td>4</td>\n",
       "      <td>55.838</td>\n",
       "      <td>1040.876405</td>\n",
       "      <td>35.556271</td>\n",
       "      <td>50.919</td>\n",
       "      <td>917.510735</td>\n",
       "      <td>35.690730</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13080</th>\n",
       "      <td>1835</td>\n",
       "      <td>6771</td>\n",
       "      <td>1030</td>\n",
       "      <td>1118848519100</td>\n",
       "      <td>6.388</td>\n",
       "      <td>220.324518</td>\n",
       "      <td>6451241.335</td>\n",
       "      <td>1873247.046</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.62</td>\n",
       "      <td>2.325606</td>\n",
       "      <td>23.256062</td>\n",
       "      <td>2</td>\n",
       "      <td>4.845</td>\n",
       "      <td>268.030326</td>\n",
       "      <td>23.608689</td>\n",
       "      <td>7.195</td>\n",
       "      <td>175.855879</td>\n",
       "      <td>20.529731</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13120</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>1030</td>\n",
       "      <td>1118848594900</td>\n",
       "      <td>19.213</td>\n",
       "      <td>1607.776272</td>\n",
       "      <td>6452266.822</td>\n",
       "      <td>1872311.506</td>\n",
       "      <td>13.5</td>\n",
       "      <td>5.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.61</td>\n",
       "      <td>3.059896</td>\n",
       "      <td>30.598964</td>\n",
       "      <td>1</td>\n",
       "      <td>19.827</td>\n",
       "      <td>1658.739626</td>\n",
       "      <td>32.104783</td>\n",
       "      <td>19.376</td>\n",
       "      <td>1500.142746</td>\n",
       "      <td>28.266653</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13160</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>988</td>\n",
       "      <td>1118848570100</td>\n",
       "      <td>6.911</td>\n",
       "      <td>1175.712982</td>\n",
       "      <td>6451952.597</td>\n",
       "      <td>1872602.748</td>\n",
       "      <td>14.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.04</td>\n",
       "      <td>1.824958</td>\n",
       "      <td>18.249581</td>\n",
       "      <td>2</td>\n",
       "      <td>8.683</td>\n",
       "      <td>1225.671187</td>\n",
       "      <td>15.423288</td>\n",
       "      <td>7.825</td>\n",
       "      <td>1122.005307</td>\n",
       "      <td>16.378570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13200</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>943</td>\n",
       "      <td>1118848609700</td>\n",
       "      <td>21.206</td>\n",
       "      <td>1938.794699</td>\n",
       "      <td>6452517.397</td>\n",
       "      <td>1872090.333</td>\n",
       "      <td>16.0</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>1.2</td>\n",
       "      <td>4.732045</td>\n",
       "      <td>47.320449</td>\n",
       "      <td>1</td>\n",
       "      <td>19.891</td>\n",
       "      <td>1987.761863</td>\n",
       "      <td>46.798828</td>\n",
       "      <td>18.858</td>\n",
       "      <td>1834.725688</td>\n",
       "      <td>45.469091</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13240</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>924</td>\n",
       "      <td>1118848623700</td>\n",
       "      <td>41.698</td>\n",
       "      <td>1894.694093</td>\n",
       "      <td>6452470.249</td>\n",
       "      <td>1872104.093</td>\n",
       "      <td>12.5</td>\n",
       "      <td>5.0</td>\n",
       "      <td>...</td>\n",
       "      <td>0.15</td>\n",
       "      <td>4.135217</td>\n",
       "      <td>41.352171</td>\n",
       "      <td>5</td>\n",
       "      <td>42.353</td>\n",
       "      <td>2007.067894</td>\n",
       "      <td>42.236096</td>\n",
       "      <td>42.086</td>\n",
       "      <td>1829.263993</td>\n",
       "      <td>45.574293</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>310 rows × 29 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0              6      537          577  1118847895700  51.327   738.159285   \n",
       "40            11      831          654  1118847925100  31.073  1826.355878   \n",
       "80            20      860          636  1118847928000  43.052  1837.061104   \n",
       "120           31      913          550  1118847933300   52.94  1943.164916   \n",
       "160           37      755          559  1118847917500  52.214  1004.286604   \n",
       "...          ...      ...          ...            ...     ...          ...   \n",
       "13080       1835     6771         1030  1118848519100   6.388   220.324518   \n",
       "13120       1835     7529         1030  1118848594900  19.213  1607.776272   \n",
       "13160       1863     7281          988  1118848570100   6.911  1175.712982   \n",
       "13200       1873     7677          943  1118848609700  21.206  1938.794699   \n",
       "13240       1906     7817          924  1118848623700  41.698  1894.694093   \n",
       "\n",
       "          Global_X     Global_Y v_Length v_Width  ...   x_a         y  \\\n",
       "0      6451593.879  1872857.446     15.5     7.4  ... -0.69  2.926326   \n",
       "40     6452425.171  1872157.346     17.0     6.4  ...  0.24  5.061758   \n",
       "80     6452424.266  1872142.327     15.5     6.9  ... -1.73   5.25015   \n",
       "120     6452501.58  1872062.137     13.5     6.9  ...  0.98  5.736216   \n",
       "160    6451792.563  1872682.032     18.0     7.4  ...  0.37  4.005073   \n",
       "...            ...          ...      ...     ...  ...   ...       ...   \n",
       "13080  6451241.335  1873247.046     13.5     5.9  ...  0.62  2.325606   \n",
       "13120  6452266.822  1872311.506     13.5     5.9  ...  0.61  3.059896   \n",
       "13160  6451952.597  1872602.748     14.0     6.9  ...  0.04  1.824958   \n",
       "13200  6452517.397  1872090.333     16.0     6.9  ...   1.2  4.732045   \n",
       "13240  6452470.249  1872104.093     12.5     5.0  ...  0.15  4.135217   \n",
       "\n",
       "             y_v aim_lane Pre1_Local_X Pre1_Local_Y Pre1_v_Vel Fol1_Local_X  \\\n",
       "0       29.26326        4       53.039   820.612922  26.128386       52.996   \n",
       "40     50.617583        4       30.027  1896.003725  53.244111       29.852   \n",
       "80       52.5015        5       41.984  1927.355998  55.413426       41.928   \n",
       "120    57.362159        4       54.286  2071.448125  54.725989       53.107   \n",
       "160    40.050728        4       55.838  1040.876405  35.556271       50.919   \n",
       "...          ...      ...          ...          ...        ...          ...   \n",
       "13080  23.256062        2        4.845   268.030326  23.608689        7.195   \n",
       "13120  30.598964        1       19.827  1658.739626  32.104783       19.376   \n",
       "13160  18.249581        2        8.683  1225.671187  15.423288        7.825   \n",
       "13200  47.320449        1       19.891  1987.761863  46.798828       18.858   \n",
       "13240  41.352171        5       42.353  2007.067894  42.236096       42.086   \n",
       "\n",
       "      Fol1_Local_Y Fol1_v_Vel  \n",
       "0       605.304046  35.416533  \n",
       "40     1727.611741  50.007670  \n",
       "80     1722.568652  49.974699  \n",
       "120    1780.094281  53.525936  \n",
       "160     917.510735  35.690730  \n",
       "...            ...        ...  \n",
       "13080   175.855879  20.529731  \n",
       "13120  1500.142746  28.266653  \n",
       "13160  1122.005307  16.378570  \n",
       "13200  1834.725688  45.469091  \n",
       "13240  1829.263993  45.574293  \n",
       "\n",
       "[310 rows x 29 columns]"
      ]
     },
     "execution_count": 76,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "id": "aeb861ff-17c2-4976-9ae9-4f18056663f1",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>Lane_ID</th>\n",
       "      <th>aim_lane</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>29.17827</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>31.073</td>\n",
       "      <td>1826.355878</td>\n",
       "      <td>50.671581</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>43.052</td>\n",
       "      <td>1837.061104</td>\n",
       "      <td>52.641314</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>52.94</td>\n",
       "      <td>1943.164916</td>\n",
       "      <td>57.218426</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>52.214</td>\n",
       "      <td>1004.286604</td>\n",
       "      <td>40.070718</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13080</th>\n",
       "      <td>1835</td>\n",
       "      <td>6771</td>\n",
       "      <td>6.388</td>\n",
       "      <td>220.324518</td>\n",
       "      <td>23.467533</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13120</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>19.213</td>\n",
       "      <td>1607.776272</td>\n",
       "      <td>30.800569</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13160</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>6.911</td>\n",
       "      <td>1175.712982</td>\n",
       "      <td>18.165527</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13200</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>21.206</td>\n",
       "      <td>1938.794699</td>\n",
       "      <td>47.320361</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13240</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>41.698</td>\n",
       "      <td>1894.694093</td>\n",
       "      <td>41.329989</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>310 rows × 7 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      Vehicle_ID Frame_ID Local_X      Local_Y      v_Vel Lane_ID  aim_lane\n",
       "0              6      537  51.327   738.159285   29.17827       5         4\n",
       "40            11      831  31.073  1826.355878  50.671581       3         4\n",
       "80            20      860  43.052  1837.061104  52.641314       4         5\n",
       "120           31      913   52.94  1943.164916  57.218426       5         4\n",
       "160           37      755  52.214  1004.286604  40.070718       5         4\n",
       "...          ...      ...     ...          ...        ...     ...       ...\n",
       "13080       1835     6771   6.388   220.324518  23.467533       1         2\n",
       "13120       1835     7529  19.213  1607.776272  30.800569       2         1\n",
       "13160       1863     7281   6.911  1175.712982  18.165527       1         2\n",
       "13200       1873     7677  21.206  1938.794699  47.320361       2         1\n",
       "13240       1906     7817  41.698  1894.694093  41.329989       4         5\n",
       "\n",
       "[310 rows x 7 columns]"
      ]
     },
     "execution_count": 77,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#这段代码从 DataFrame pd3 中选择了 'Vehicle_ID'、'Frame_ID'、'Local_X'、'Local_Y'、'v_Vel'、'Lane_ID' 和 'aim_lane' 列，\n",
    "#并将选择结果存储到 useful_pd 中。同时，使用 .values 将 useful_pd 转换为 NumPy 数组 useful_list。\n",
    "#最后，useful_pd 包含了选择的列，并且是一个 DataFrame；而 useful_list 是包含了 useful_pd 的值的 NumPy 数组。\n",
    "useful_pd=pd3[['Vehicle_ID','Frame_ID','Local_X','Local_Y','v_Vel','Lane_ID','aim_lane']]\n",
    "useful_list=useful_pd.values\n",
    "useful_pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 91,
   "id": "ed0117ea-2c27-43ce-9206-1f9c04f5a241",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([[6, 537, 51.327, ..., 29.178270322844728, 5, 4],\n",
       "       [11, 831, 31.073, ..., 50.67158066339342, 3, 4],\n",
       "       [20, 860, 43.052, ..., 52.64131425334178, 4, 5],\n",
       "       ...,\n",
       "       [1863, 7281, 6.911, ..., 18.165527036265512, 1, 2],\n",
       "       [1873, 7677, 21.206, ..., 47.320360575268886, 2, 1],\n",
       "       [1906, 7817, 41.698, ..., 41.32998904943256, 4, 5]], dtype=object)"
      ]
     },
     "execution_count": 91,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "useful_list"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "id": "651b0fe0-2b4a-4de0-adc5-64a6fa7aae2a",
   "metadata": {},
   "outputs": [],
   "source": [
    "def NB(arr):\n",
    "    shape=np.shape(arr)                        #获取了数组 arr 的形状，即行数和列数。\n",
    "    Pre2=[]                                    \n",
    "    Fol2=[]                                    \n",
    "    prev2=[]                                   \n",
    "    folv2=[]\n",
    "    for i in range(shape[0]):                  #遍历数组 arr 中的每一行。\n",
    "        x=[]\n",
    "        y=[]\n",
    "        v_pre=[]\n",
    "        v_fol=[]                               #创建了四个空列表，用于存储前车和后车的纵向距离以及相对速度。\n",
    "        a=ff[ff.Frame_ID.isin([arr[i][1]])]    #从 DataFrame ff 中选择 'Frame_ID' 列与当前行中的 'Frame_ID' 值相等的行，并将结果存储到 DataFrame a 中。\n",
    "        b=a[a.Lane_ID.isin([arr[i][6]])]       #从 DataFrame a 中选择 'Lane_ID' 列与当前行中的 'Lane_ID' 值相等的行，并将结果存储到 DataFrame b 中\n",
    "        c=b.Local_Y.values                     #分别获取了 DataFrame b 中 'Local_Y' 和 'v_Vel' 列的值，并将其转换为 NumPy 数组。\n",
    "        vc=b.v_Vel.values\n",
    "        for valuey in range(len(c)):           #遍历 c 数组中的每个值。\n",
    "            d=c[valuey]-arr[i][3]              #计算了当前车辆和遍历的每个车辆之间的纵向距离和相对速度，距离为正则是前车，距离为负则为后车\n",
    "            vd=vc[valuey]-arr[i][4]\n",
    "            #如果相对纵向距离为正值，则将相对距离和相对速度添加到 x 和 v_pre 列表中；如果相对纵向距离为负值，则将相对距离和相对速度添加到 y 和 v_fol 列表中。\n",
    "            if d>0:                            \n",
    "                x.append(d)\n",
    "                v_pre.append(vd)\n",
    "            if d<0:\n",
    "                y.append(d)\n",
    "                v_fol.append(vd)\n",
    "        #判断 x 和 y 是否为空列表，如果不为空，则分别取出最小值和最大值，并获取相应的相对速度。\n",
    "        #如果 x 或 y 为空列表，则设置默认值。\n",
    "        if x!=[]:\n",
    "            pre_x=np.min(x)                  #前车与自车的相对距离，为正数\n",
    "            vx_index=x.index(pre_x)          \n",
    "            pre_v=v_pre[vx_index]            \n",
    "        else:\n",
    "            pre_x=100\n",
    "            pre_v=40\n",
    "        if y!=[]:\n",
    "            fol_y=np.max(y)\n",
    "            vy_index=y.index(fol_y)\n",
    "            fol_v=v_fol[vy_index]\n",
    "        else:\n",
    "            fol_y=-100\n",
    "            fol_v=5\n",
    "        #将计算得到的目标车道前车最近距离、后车最近距离、前车相对速度和后车相对速度添加到 Pre2、Fol2、prev2 和 folv2 列表中。\n",
    "        Pre2.append(pre_x)\n",
    "        prev2.append(pre_v)\n",
    "        Fol2.append(fol_y)\n",
    "        folv2.append(fol_v)\n",
    "    return Pre2,Fol2,prev2,folv2 #返回前车最近距离列表 Pre2、后车最近距离列表 Fol2、前车相对速度列表 prev2 和后车相对速度列表 folv2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "id": "285da0e6-d60c-433d-b951-dbcb6a550733",
   "metadata": {},
   "outputs": [],
   "source": [
    "Pre2,Fol2,prev2,folv2=NB(useful_list) #调用了之前定义的 NB 函数，并将返回的结果分别存储在 Pre2、Fol2、prev2 和 folv2 中"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 95,
   "id": "bac878b4-5bd5-49d9-b107-c36224a440d3",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "310"
      ]
     },
     "execution_count": 95,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(Pre2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 96,
   "id": "c2e991be-f7d3-4032-8fa0-e44c77f128ca",
   "metadata": {},
   "outputs": [],
   "source": [
    "#创建了四个 DataFrame，分别存储了 Pre2、Fol2、prev2 和 folv2 列表的数据\n",
    "Pr2=pd.DataFrame(columns=['y3'], data =Pre2)\n",
    "Fo2=pd.DataFrame(columns=['y4'], data =Fol2)\n",
    "v3=pd.DataFrame(columns=['v3'], data =prev2)\n",
    "v4=pd.DataFrame(columns=['v4'], data =folv2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 99,
   "id": "2e60eef2-8820-475b-8ab8-d779525b7294",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>y4</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>151</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>179</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>218</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>293</th>\n",
       "      <td>-100.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "        y4\n",
       "36  -100.0\n",
       "43  -100.0\n",
       "62  -100.0\n",
       "151 -100.0\n",
       "179 -100.0\n",
       "218 -100.0\n",
       "293 -100.0"
      ]
     },
     "execution_count": 99,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Fo2[Fo2['y4']==-100]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 100,
   "id": "62779745-04db-48c1-8e9a-d0808aa81bad",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>Total_Frames</th>\n",
       "      <th>Global_Time</th>\n",
       "      <th>Local_X</th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Global_X</th>\n",
       "      <th>Global_Y</th>\n",
       "      <th>v_Length</th>\n",
       "      <th>v_Width</th>\n",
       "      <th>...</th>\n",
       "      <th>x_a</th>\n",
       "      <th>y</th>\n",
       "      <th>y_v</th>\n",
       "      <th>aim_lane</th>\n",
       "      <th>Pre1_Local_X</th>\n",
       "      <th>Pre1_Local_Y</th>\n",
       "      <th>Pre1_v_Vel</th>\n",
       "      <th>Fol1_Local_X</th>\n",
       "      <th>Fol1_Local_Y</th>\n",
       "      <th>Fol1_v_Vel</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>577</td>\n",
       "      <td>1118847895700</td>\n",
       "      <td>51.327</td>\n",
       "      <td>738.159285</td>\n",
       "      <td>6451593.879</td>\n",
       "      <td>1872857.446</td>\n",
       "      <td>15.5</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>-0.69</td>\n",
       "      <td>2.926326</td>\n",
       "      <td>29.26326</td>\n",
       "      <td>4</td>\n",
       "      <td>53.039</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>52.996</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>35.416533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>654</td>\n",
       "      <td>1118847925100</td>\n",
       "      <td>31.073</td>\n",
       "      <td>1826.355878</td>\n",
       "      <td>6452425.171</td>\n",
       "      <td>1872157.346</td>\n",
       "      <td>17.0</td>\n",
       "      <td>6.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.24</td>\n",
       "      <td>5.061758</td>\n",
       "      <td>50.617583</td>\n",
       "      <td>4</td>\n",
       "      <td>30.027</td>\n",
       "      <td>1896.003725</td>\n",
       "      <td>53.244111</td>\n",
       "      <td>29.852</td>\n",
       "      <td>1727.611741</td>\n",
       "      <td>50.007670</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>636</td>\n",
       "      <td>1118847928000</td>\n",
       "      <td>43.052</td>\n",
       "      <td>1837.061104</td>\n",
       "      <td>6452424.266</td>\n",
       "      <td>1872142.327</td>\n",
       "      <td>15.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>-1.73</td>\n",
       "      <td>5.25015</td>\n",
       "      <td>52.5015</td>\n",
       "      <td>5</td>\n",
       "      <td>41.984</td>\n",
       "      <td>1927.355998</td>\n",
       "      <td>55.413426</td>\n",
       "      <td>41.928</td>\n",
       "      <td>1722.568652</td>\n",
       "      <td>49.974699</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>550</td>\n",
       "      <td>1118847933300</td>\n",
       "      <td>52.94</td>\n",
       "      <td>1943.164916</td>\n",
       "      <td>6452501.58</td>\n",
       "      <td>1872062.137</td>\n",
       "      <td>13.5</td>\n",
       "      <td>6.9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.98</td>\n",
       "      <td>5.736216</td>\n",
       "      <td>57.362159</td>\n",
       "      <td>4</td>\n",
       "      <td>54.286</td>\n",
       "      <td>2071.448125</td>\n",
       "      <td>54.725989</td>\n",
       "      <td>53.107</td>\n",
       "      <td>1780.094281</td>\n",
       "      <td>53.525936</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>559</td>\n",
       "      <td>1118847917500</td>\n",
       "      <td>52.214</td>\n",
       "      <td>1004.286604</td>\n",
       "      <td>6451792.563</td>\n",
       "      <td>1872682.032</td>\n",
       "      <td>18.0</td>\n",
       "      <td>7.4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.37</td>\n",
       "      <td>4.005073</td>\n",
       "      <td>40.050728</td>\n",
       "      <td>4</td>\n",
       "      <td>55.838</td>\n",
       "      <td>1040.876405</td>\n",
       "      <td>35.556271</td>\n",
       "      <td>50.919</td>\n",
       "      <td>917.510735</td>\n",
       "      <td>35.690730</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 29 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Vehicle_ID Frame_ID Total_Frames    Global_Time Local_X      Local_Y  \\\n",
       "0            6      537          577  1118847895700  51.327   738.159285   \n",
       "40          11      831          654  1118847925100  31.073  1826.355878   \n",
       "80          20      860          636  1118847928000  43.052  1837.061104   \n",
       "120         31      913          550  1118847933300   52.94  1943.164916   \n",
       "160         37      755          559  1118847917500  52.214  1004.286604   \n",
       "\n",
       "        Global_X     Global_Y v_Length v_Width  ...   x_a         y  \\\n",
       "0    6451593.879  1872857.446     15.5     7.4  ... -0.69  2.926326   \n",
       "40   6452425.171  1872157.346     17.0     6.4  ...  0.24  5.061758   \n",
       "80   6452424.266  1872142.327     15.5     6.9  ... -1.73   5.25015   \n",
       "120   6452501.58  1872062.137     13.5     6.9  ...  0.98  5.736216   \n",
       "160  6451792.563  1872682.032     18.0     7.4  ...  0.37  4.005073   \n",
       "\n",
       "           y_v aim_lane Pre1_Local_X Pre1_Local_Y Pre1_v_Vel Fol1_Local_X  \\\n",
       "0     29.26326        4       53.039   820.612922  26.128386       52.996   \n",
       "40   50.617583        4       30.027  1896.003725  53.244111       29.852   \n",
       "80     52.5015        5       41.984  1927.355998  55.413426       41.928   \n",
       "120  57.362159        4       54.286  2071.448125  54.725989       53.107   \n",
       "160  40.050728        4       55.838  1040.876405  35.556271       50.919   \n",
       "\n",
       "    Fol1_Local_Y Fol1_v_Vel  \n",
       "0     605.304046  35.416533  \n",
       "40   1727.611741  50.007670  \n",
       "80   1722.568652  49.974699  \n",
       "120  1780.094281  53.525936  \n",
       "160   917.510735  35.690730  \n",
       "\n",
       "[5 rows x 29 columns]"
      ]
     },
     "execution_count": 100,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd3.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 101,
   "id": "3787eb27-c68a-4d43-b1aa-43dc4888466c",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd4=pd3[['Local_Y','Pre1_Local_Y','Fol1_Local_Y','v_Vel','Pre1_v_Vel','Fol1_v_Vel']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 102,
   "id": "d252e874-59bb-4275-8bfe-af08cfb5f85c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Local_Y</th>\n",
       "      <th>Pre1_Local_Y</th>\n",
       "      <th>Fol1_Local_Y</th>\n",
       "      <th>v_Vel</th>\n",
       "      <th>Pre1_v_Vel</th>\n",
       "      <th>Fol1_v_Vel</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>738.159285</td>\n",
       "      <td>820.612922</td>\n",
       "      <td>605.304046</td>\n",
       "      <td>29.17827</td>\n",
       "      <td>26.128386</td>\n",
       "      <td>35.416533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1826.355878</td>\n",
       "      <td>1896.003725</td>\n",
       "      <td>1727.611741</td>\n",
       "      <td>50.671581</td>\n",
       "      <td>53.244111</td>\n",
       "      <td>50.007670</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>1837.061104</td>\n",
       "      <td>1927.355998</td>\n",
       "      <td>1722.568652</td>\n",
       "      <td>52.641314</td>\n",
       "      <td>55.413426</td>\n",
       "      <td>49.974699</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>1943.164916</td>\n",
       "      <td>2071.448125</td>\n",
       "      <td>1780.094281</td>\n",
       "      <td>57.218426</td>\n",
       "      <td>54.725989</td>\n",
       "      <td>53.525936</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>1004.286604</td>\n",
       "      <td>1040.876405</td>\n",
       "      <td>917.510735</td>\n",
       "      <td>40.070718</td>\n",
       "      <td>35.556271</td>\n",
       "      <td>35.690730</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         Local_Y  Pre1_Local_Y  Fol1_Local_Y      v_Vel  Pre1_v_Vel  \\\n",
       "0     738.159285    820.612922    605.304046   29.17827   26.128386   \n",
       "40   1826.355878   1896.003725   1727.611741  50.671581   53.244111   \n",
       "80   1837.061104   1927.355998   1722.568652  52.641314   55.413426   \n",
       "120  1943.164916   2071.448125   1780.094281  57.218426   54.725989   \n",
       "160  1004.286604   1040.876405    917.510735  40.070718   35.556271   \n",
       "\n",
       "     Fol1_v_Vel  \n",
       "0     35.416533  \n",
       "40    50.007670  \n",
       "80    49.974699  \n",
       "120   53.525936  \n",
       "160   35.690730  "
      ]
     },
     "execution_count": 102,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd4.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 103,
   "id": "8a99c34f-613a-4c14-8ec6-cfd94c4ccf14",
   "metadata": {},
   "outputs": [],
   "source": [
    "y_list=pd4.Local_Y.values\n",
    "y1_list=pd4.Pre1_Local_Y.values\n",
    "y2_list=pd4.Fol1_Local_Y.values\n",
    "v_list=pd4.v_Vel.values\n",
    "v1_list=pd4.Pre1_v_Vel.values\n",
    "v2_list=pd4.Fol1_v_Vel.values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 104,
   "id": "ebdb6284-1c15-420f-a364-fe60d544dd6d",
   "metadata": {},
   "outputs": [],
   "source": [
    "y1=y1_list-y_list\n",
    "y2=y2_list-y_list\n",
    "v1=v_list-v1_list\n",
    "v2=v_list-v2_list\n",
    "Pr1=pd.DataFrame(columns=['y1'], data =y1)\n",
    "Fo1=pd.DataFrame(columns=['y2'], data =y2)\n",
    "pre_v=pd.DataFrame(columns=['v1'], data =v1)\n",
    "fol_v=pd.DataFrame(columns=['v2'], data =v2)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "id": "a6190d43-3b9b-4f7d-b9fe-b08da766c1bf",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>3.049884</td>\n",
       "      <td>-6.238262</td>\n",
       "      <td>2.433994</td>\n",
       "      <td>1.412497</td>\n",
       "      <td>82.453637</td>\n",
       "      <td>-132.855239</td>\n",
       "      <td>33.862825</td>\n",
       "      <td>-37.690979</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>-2.57253</td>\n",
       "      <td>0.663911</td>\n",
       "      <td>-0.142314</td>\n",
       "      <td>-1.089454</td>\n",
       "      <td>69.647848</td>\n",
       "      <td>-98.744137</td>\n",
       "      <td>7.309895</td>\n",
       "      <td>-52.445799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>-2.772111</td>\n",
       "      <td>2.666615</td>\n",
       "      <td>3.356769</td>\n",
       "      <td>2.345647</td>\n",
       "      <td>90.294894</td>\n",
       "      <td>-114.492452</td>\n",
       "      <td>61.253822</td>\n",
       "      <td>-64.832066</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>2.492437</td>\n",
       "      <td>3.692491</td>\n",
       "      <td>-3.103517</td>\n",
       "      <td>-2.480579</td>\n",
       "      <td>128.28321</td>\n",
       "      <td>-163.070634</td>\n",
       "      <td>56.702649</td>\n",
       "      <td>-65.619315</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>4.514447</td>\n",
       "      <td>4.379989</td>\n",
       "      <td>3.756350</td>\n",
       "      <td>0.713769</td>\n",
       "      <td>36.589801</td>\n",
       "      <td>-86.77587</td>\n",
       "      <td>12.518127</td>\n",
       "      <td>-59.800195</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>305</th>\n",
       "      <td>1835</td>\n",
       "      <td>6771</td>\n",
       "      <td>-0.141157</td>\n",
       "      <td>2.937802</td>\n",
       "      <td>10.581300</td>\n",
       "      <td>-3.028604</td>\n",
       "      <td>47.705808</td>\n",
       "      <td>-44.468639</td>\n",
       "      <td>29.385289</td>\n",
       "      <td>-68.252273</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>306</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>-1.304213</td>\n",
       "      <td>2.533916</td>\n",
       "      <td>-0.363827</td>\n",
       "      <td>-9.040093</td>\n",
       "      <td>50.963354</td>\n",
       "      <td>-107.633526</td>\n",
       "      <td>88.830597</td>\n",
       "      <td>-19.405130</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>307</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>2.742239</td>\n",
       "      <td>1.786957</td>\n",
       "      <td>0.588612</td>\n",
       "      <td>-8.676235</td>\n",
       "      <td>49.958205</td>\n",
       "      <td>-53.707676</td>\n",
       "      <td>14.572077</td>\n",
       "      <td>-47.845612</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>308</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>0.521533</td>\n",
       "      <td>1.85127</td>\n",
       "      <td>-6.076586</td>\n",
       "      <td>-4.341687</td>\n",
       "      <td>48.967164</td>\n",
       "      <td>-104.06901</td>\n",
       "      <td>119.195434</td>\n",
       "      <td>-42.338726</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>309</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>-0.906107</td>\n",
       "      <td>-4.244304</td>\n",
       "      <td>4.789405</td>\n",
       "      <td>5.195836</td>\n",
       "      <td>112.373801</td>\n",
       "      <td>-65.4301</td>\n",
       "      <td>167.704541</td>\n",
       "      <td>-1.962629</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>310 rows × 10 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Vehicle_ID Frame_ID        v1        v2         v3        v4          y1  \\\n",
       "0            6      537  3.049884 -6.238262   2.433994  1.412497   82.453637   \n",
       "1           11      831  -2.57253  0.663911  -0.142314 -1.089454   69.647848   \n",
       "2           20      860 -2.772111  2.666615   3.356769  2.345647   90.294894   \n",
       "3           31      913  2.492437  3.692491  -3.103517 -2.480579   128.28321   \n",
       "4           37      755  4.514447  4.379989   3.756350  0.713769   36.589801   \n",
       "..         ...      ...       ...       ...        ...       ...         ...   \n",
       "305       1835     6771 -0.141157  2.937802  10.581300 -3.028604   47.705808   \n",
       "306       1835     7529 -1.304213  2.533916  -0.363827 -9.040093   50.963354   \n",
       "307       1863     7281  2.742239  1.786957   0.588612 -8.676235   49.958205   \n",
       "308       1873     7677  0.521533   1.85127  -6.076586 -4.341687   48.967164   \n",
       "309       1906     7817 -0.906107 -4.244304   4.789405  5.195836  112.373801   \n",
       "\n",
       "             y2          y3         y4  \n",
       "0   -132.855239   33.862825 -37.690979  \n",
       "1    -98.744137    7.309895 -52.445799  \n",
       "2   -114.492452   61.253822 -64.832066  \n",
       "3   -163.070634   56.702649 -65.619315  \n",
       "4     -86.77587   12.518127 -59.800195  \n",
       "..          ...         ...        ...  \n",
       "305  -44.468639   29.385289 -68.252273  \n",
       "306 -107.633526   88.830597 -19.405130  \n",
       "307  -53.707676   14.572077 -47.845612  \n",
       "308  -104.06901  119.195434 -42.338726  \n",
       "309    -65.4301  167.704541  -1.962629  \n",
       "\n",
       "[310 rows x 10 columns]"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd5=pd3[['Vehicle_ID','Frame_ID']]\n",
    "pd5=pd5.reset_index(drop=True)\n",
    "pd6=pd.concat([pd5,pre_v,fol_v,v3,v4,Pr1,Fo1,Pr2,Fo2],axis=1)\n",
    "# pd6.to_csv(\"./data/zhixing.csv\")\n",
    "# pd6['label']=0\n",
    "pd6"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "id": "a5bda298-b416-4cde-8f65-3c52713b8df1",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Vehicle_ID</th>\n",
       "      <th>Frame_ID</th>\n",
       "      <th>v1</th>\n",
       "      <th>v2</th>\n",
       "      <th>v3</th>\n",
       "      <th>v4</th>\n",
       "      <th>y1</th>\n",
       "      <th>y2</th>\n",
       "      <th>y3</th>\n",
       "      <th>y4</th>\n",
       "      <th>label</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>6</td>\n",
       "      <td>537</td>\n",
       "      <td>3.049884</td>\n",
       "      <td>-6.238262</td>\n",
       "      <td>2.433994</td>\n",
       "      <td>1.412497</td>\n",
       "      <td>82.453637</td>\n",
       "      <td>-132.855239</td>\n",
       "      <td>33.862825</td>\n",
       "      <td>-37.690979</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>11</td>\n",
       "      <td>831</td>\n",
       "      <td>-2.57253</td>\n",
       "      <td>0.663911</td>\n",
       "      <td>-0.142314</td>\n",
       "      <td>-1.089454</td>\n",
       "      <td>69.647848</td>\n",
       "      <td>-98.744137</td>\n",
       "      <td>7.309895</td>\n",
       "      <td>-52.445799</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>20</td>\n",
       "      <td>860</td>\n",
       "      <td>-2.772111</td>\n",
       "      <td>2.666615</td>\n",
       "      <td>3.356769</td>\n",
       "      <td>2.345647</td>\n",
       "      <td>90.294894</td>\n",
       "      <td>-114.492452</td>\n",
       "      <td>61.253822</td>\n",
       "      <td>-64.832066</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>31</td>\n",
       "      <td>913</td>\n",
       "      <td>2.492437</td>\n",
       "      <td>3.692491</td>\n",
       "      <td>-3.103517</td>\n",
       "      <td>-2.480579</td>\n",
       "      <td>128.28321</td>\n",
       "      <td>-163.070634</td>\n",
       "      <td>56.702649</td>\n",
       "      <td>-65.619315</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>37</td>\n",
       "      <td>755</td>\n",
       "      <td>4.514447</td>\n",
       "      <td>4.379989</td>\n",
       "      <td>3.756350</td>\n",
       "      <td>0.713769</td>\n",
       "      <td>36.589801</td>\n",
       "      <td>-86.77587</td>\n",
       "      <td>12.518127</td>\n",
       "      <td>-59.800195</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>305</th>\n",
       "      <td>1835</td>\n",
       "      <td>6771</td>\n",
       "      <td>-0.141157</td>\n",
       "      <td>2.937802</td>\n",
       "      <td>10.581300</td>\n",
       "      <td>-3.028604</td>\n",
       "      <td>47.705808</td>\n",
       "      <td>-44.468639</td>\n",
       "      <td>29.385289</td>\n",
       "      <td>-68.252273</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>306</th>\n",
       "      <td>1835</td>\n",
       "      <td>7529</td>\n",
       "      <td>-1.304213</td>\n",
       "      <td>2.533916</td>\n",
       "      <td>-0.363827</td>\n",
       "      <td>-9.040093</td>\n",
       "      <td>50.963354</td>\n",
       "      <td>-107.633526</td>\n",
       "      <td>88.830597</td>\n",
       "      <td>-19.405130</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>307</th>\n",
       "      <td>1863</td>\n",
       "      <td>7281</td>\n",
       "      <td>2.742239</td>\n",
       "      <td>1.786957</td>\n",
       "      <td>0.588612</td>\n",
       "      <td>-8.676235</td>\n",
       "      <td>49.958205</td>\n",
       "      <td>-53.707676</td>\n",
       "      <td>14.572077</td>\n",
       "      <td>-47.845612</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>308</th>\n",
       "      <td>1873</td>\n",
       "      <td>7677</td>\n",
       "      <td>0.521533</td>\n",
       "      <td>1.85127</td>\n",
       "      <td>-6.076586</td>\n",
       "      <td>-4.341687</td>\n",
       "      <td>48.967164</td>\n",
       "      <td>-104.06901</td>\n",
       "      <td>119.195434</td>\n",
       "      <td>-42.338726</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>309</th>\n",
       "      <td>1906</td>\n",
       "      <td>7817</td>\n",
       "      <td>-0.906107</td>\n",
       "      <td>-4.244304</td>\n",
       "      <td>4.789405</td>\n",
       "      <td>5.195836</td>\n",
       "      <td>112.373801</td>\n",
       "      <td>-65.4301</td>\n",
       "      <td>167.704541</td>\n",
       "      <td>-1.962629</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>310 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Vehicle_ID Frame_ID        v1        v2         v3        v4          y1  \\\n",
       "0            6      537  3.049884 -6.238262   2.433994  1.412497   82.453637   \n",
       "1           11      831  -2.57253  0.663911  -0.142314 -1.089454   69.647848   \n",
       "2           20      860 -2.772111  2.666615   3.356769  2.345647   90.294894   \n",
       "3           31      913  2.492437  3.692491  -3.103517 -2.480579   128.28321   \n",
       "4           37      755  4.514447  4.379989   3.756350  0.713769   36.589801   \n",
       "..         ...      ...       ...       ...        ...       ...         ...   \n",
       "305       1835     6771 -0.141157  2.937802  10.581300 -3.028604   47.705808   \n",
       "306       1835     7529 -1.304213  2.533916  -0.363827 -9.040093   50.963354   \n",
       "307       1863     7281  2.742239  1.786957   0.588612 -8.676235   49.958205   \n",
       "308       1873     7677  0.521533   1.85127  -6.076586 -4.341687   48.967164   \n",
       "309       1906     7817 -0.906107 -4.244304   4.789405  5.195836  112.373801   \n",
       "\n",
       "             y2          y3         y4  label  \n",
       "0   -132.855239   33.862825 -37.690979      1  \n",
       "1    -98.744137    7.309895 -52.445799      1  \n",
       "2   -114.492452   61.253822 -64.832066      1  \n",
       "3   -163.070634   56.702649 -65.619315      1  \n",
       "4     -86.77587   12.518127 -59.800195      1  \n",
       "..          ...         ...        ...    ...  \n",
       "305  -44.468639   29.385289 -68.252273      1  \n",
       "306 -107.633526   88.830597 -19.405130      1  \n",
       "307  -53.707676   14.572077 -47.845612      1  \n",
       "308  -104.06901  119.195434 -42.338726      1  \n",
       "309    -65.4301  167.704541  -1.962629      1  \n",
       "\n",
       "[310 rows x 11 columns]"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd6['label']=1\n",
    "pd6"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "52ba648b-4d2b-4458-ad66-9f734773c1ad",
   "metadata": {},
   "outputs": [],
   "source": [
    "pd6.to_csv(\"./data/biandao_new.csv\",index=0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d6e101d2-e2f5-44a4-abb5-6f304c2b2dc9",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "73319df0-5082-41f0-b208-ba4e2752b8df",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
